/freebsd/lib/libjail/ |
H A D | jail.c | 63 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 D | jail_getid.c | 76 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 D | jail.h | 39 extern char jail_errmsg[];
|
/freebsd/libexec/flua/libjail/ |
H A D | lua_jail.c | 103 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 D | jls.c | 240 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 D | jail.c | 705 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 D | config.c | 767 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 D | vimage.c | 315 if (jail_errmsg[0]) in main() 316 fprintf(stderr, "Error: %s\n", jail_errmsg); in main()
|
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 1453 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 D | jexec.c | 102 errx(1, "%s", jail_errmsg); in main()
|
/freebsd/contrib/kyua/os/freebsd/utils/ |
H A D | jail.cpp | 252 << strerror(errno) << ": " << jail_errmsg << ".\n"; in exec()
|
/freebsd/bin/cpuset/ |
H A D | cpuset.c | 326 errx(EXIT_FAILURE, "%s", jail_errmsg); in main()
|
/freebsd/usr.bin/killall/ |
H A D | killall.c | 159 errx(1, "%s", jail_errmsg); in main()
|
/freebsd/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 257 warnx("%s", jail_errmsg); in list_shm()
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig.c | 1306 errx(1, "%s", jail_errmsg); in setifvnet() 1318 errx(1, "%s", jail_errmsg); in setifrvnet()
|
/freebsd/sbin/ipfw/ |
H A D | ipfw2.c | 4963 errx(EX_DATAERR, "%s", jail_errmsg); in compile_rule()
|