Home
last modified time | relevance | path

Searched refs:jail_errmsg (Results 1 – 16 of 16) sorted by relevance

/freebsd/lib/libjail/
H A Djail.c63 char jail_errmsg[JAIL_ERRMSGLEN]; variable
159 strlcpy(jail_errmsg, "no jail specified", JAIL_ERRMSGLEN); in jail_getv()
211 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jailparam_all()
218 snprintf(jail_errmsg, JAIL_ERRMSGLEN, in jailparam_all()
230 snprintf(jail_errmsg, JAIL_ERRMSGLEN, in jailparam_all()
244 snprintf(jail_errmsg, JAIL_ERRMSGLEN, in jailparam_all()
285 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jailparam_init()
313 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jailparam_import()
323 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jailparam_import()
335 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jailparam_import()
[all …]
H A Djail_getid.c76 jiov[3].iov_base = jail_errmsg; in jail_getid()
78 jail_errmsg[0] = 0; in jail_getid()
80 if (jid < 0 && !jail_errmsg[0]) in jail_getid()
81 snprintf(jail_errmsg, JAIL_ERRMSGLEN, "jail_get: %s", in jail_getid()
106 jiov[5].iov_base = jail_errmsg; in jail_getname()
108 jail_errmsg[0] = 0; in jail_getname()
111 if (!jail_errmsg[0]) in jail_getname()
112 snprintf(jail_errmsg, JAIL_ERRMSGLEN, "jail_get: %s", in jail_getname()
118 strerror_r(errno, jail_errmsg, JAIL_ERRMSGLEN); in jail_getname()
H A Djail.h39 extern char jail_errmsg[];
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c103 return (luaL_error(L, "jailparam_import_raw: %s", jail_errmsg)); in l_jail_iter_next()
197 return (luaL_error(L, "jailparam_init: %s", jail_errmsg)); in l_list()
205 jail_errmsg)); in l_list()
212 jail_errmsg)); in l_list()
267 lua_pushstring(L, jail_errmsg); in l_getid()
284 lua_pushstring(L, jail_errmsg); in l_getname()
301 lua_pushstring(L, jail_errmsg); in l_allparams()
343 luaL_error(L, "jailparam_init: %s", jail_errmsg); in getparam_table()
400 jail_errmsg)); in l_getparams()
407 jail_errmsg)); in l_getparams()
[all …]
/freebsd/usr.sbin/jls/
H A Djls.c240 xo_errx(1, "%s", jail_errmsg); in main()
246 xo_errx(1, "%s", jail_errmsg); in main()
268 xo_errx(1, "%s", jail_errmsg); in add_param()
283 xo_errx(1, "%s", jail_errmsg); in add_param()
321 xo_errx(1, "%s", jail_errmsg); in add_param()
444 xo_errx(1, "%s", jail_errmsg); in print_jail()
/freebsd/usr.sbin/jail/
H A Djail.c705 jail_warnx(j, "%s", jail_errmsg); in create_jail()
715 jail_warnx(j, "%s", jail_errmsg); in create_jail()
771 jail_warnx(j, "%s", jail_errmsg); in update_jail()
781 jail_warnx(j, "%s", jail_errmsg); in update_jail()
811 jail_warnx(j, "%s", jail_errmsg); in rdtun_params()
H A Dconfig.c767 jail_warnx(j, "%s", jail_errmsg); in import_params()
801 jail_warnx(j, "%s", jail_errmsg); in import_params()
/freebsd/tools/tools/vimage/
H A Dvimage.c315 if (jail_errmsg[0]) in main()
316 fprintf(stderr, "Error: %s\n", jail_errmsg); in main()
/freebsd/usr.bin/sockstat/
H A Dsockstat.c1453 jiov[5].iov_base = jail_errmsg; in jail_getvnet()
1455 jail_errmsg[0] = '\0'; in jail_getvnet()
1457 if (!jail_errmsg[0]) in jail_getvnet()
1458 snprintf(jail_errmsg, JAIL_ERRMSGLEN, in jail_getvnet()
1509 errx(1, "jail_getid: %s", jail_errmsg); in main()
1560 errx(2, "jail_getvnet: %s", jail_errmsg); in main()
/freebsd/usr.sbin/jexec/
H A Djexec.c102 errx(1, "%s", jail_errmsg); in main()
/freebsd/contrib/kyua/os/freebsd/utils/
H A Djail.cpp252 << strerror(errno) << ": " << jail_errmsg << ".\n"; in exec()
/freebsd/bin/cpuset/
H A Dcpuset.c326 errx(EXIT_FAILURE, "%s", jail_errmsg); in main()
/freebsd/usr.bin/killall/
H A Dkillall.c159 errx(1, "%s", jail_errmsg); in main()
/freebsd/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c257 warnx("%s", jail_errmsg); in list_shm()
/freebsd/sbin/ifconfig/
H A Difconfig.c1306 errx(1, "%s", jail_errmsg); in setifvnet()
1318 errx(1, "%s", jail_errmsg); in setifrvnet()
/freebsd/sbin/ipfw/
H A Dipfw2.c4963 errx(EX_DATAERR, "%s", jail_errmsg); in compile_rule()