Home
last modified time | relevance | path

Searched refs:jailed (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsandbox.c80 bool jailed; in sandbox() local
140 jailed = true; in sandbox()
142 jailed = false; in sandbox()
148 jailed = false; in sandbox()
151 if (!jailed) { in sandbox()
223 capsicum ? "capsicum+" : "", jailed ? "jail" : "chroot"); in sandbox()
/freebsd/sbin/hastd/
H A Dsubr.c159 bool capsicum, jailed; in drop_privs() local
196 jailed = true; in drop_privs()
198 jailed = false; in drop_privs()
290 capsicum ? "capsicum+" : "", jailed ? "jail" : "chroot"); in drop_privs()
/freebsd/libexec/rc/rc.d/
H A Dzfs37 if check_jail jailed; then
70 if check_jail jailed; then
H A Dhostname45 if check_jail jailed; then
H A Dsyslogd33 if [ ! -L /dev/log ] && ! check_jail jailed; then
H A Dzfsbe67 if check_jail jailed; then
H A Dnfsd34 if [ -n "${nfs_server_maxio}" ] && ! check_jail jailed; then
/freebsd/usr.bin/posixshmcontrol/
H A Dposixshmcontrol.c228 bool hsize, jailed, uname; in list_shm() local
231 jailed = false; in list_shm()
246 jailed = jid > 0; in list_shm()
249 jailed = true; in list_shm()
251 if (jailed) { in list_shm()
304 if (jailed && strncmp(kif->kf_path, jailpath, jailpathlen + 1)) in list_shm()
/freebsd/sys/kern/
H A Dkern_priv.c228 if (jailed(cred)) in priv_check_cred()
337 if (jailed(cred)) { in priv_check_cred_vfs_generation_slow()
363 if (!jailed(cred) && cred->cr_uid == 0 && suser_enabled(cred)) in priv_check_cred_vfs_generation()
/freebsd/usr.sbin/service/
H A Dservice.sh97 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
138 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dzone.h41 #define INGLOBALZONE(thread) (!jailed((thread)->td_ucred))
/freebsd/tests/atf_python/sys/net/
H A Dvnet.py56 self.jailed = False
84 def set_jailed(self, jailed: bool):
85 self.jailed = jailed
88 if self.vnet_name and not self.jailed:
/freebsd/usr.sbin/nfsuserd/
H A Dnfsuserd.c129 int jailed, s; in main() local
329 jailed = 0; in main()
330 jailed_size = sizeof(jailed); in main()
331 sysctlbyname("security.jail.jailed", &jailed, in main()
333 if (jailed != 0) { in main()
/freebsd/usr.sbin/periodic/etc/weekly/
H A D340.noid23 if [ $(sysctl -n security.jail.jailed) = 0 ]; then
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dzone.h45 #define INGLOBALZONE(proc) (!jailed((proc)->p_ucred))
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh111 jailed on jailed off
/freebsd/libexec/rc/
H A Drc.shutdown86 if check_jail jailed; then
H A Drc86 if check_jail jailed; then
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_002_pos.ksh57 typeset zfs_props_os=(jailed aclmode)
H A Dzfs_get_009_pos.ksh63 set -A all_props ${all_props[*]} jailed aclmode
H A Dzfs_get_008_pos.ksh61 set -A props ${props[*]} jailed aclmode
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh70 jailed receive destroy
/freebsd/sys/security/audit/
H A Daudit_syscalls.c63 if (error == EPERM && jailed(cred)) { in audit_priv_check_cred()
97 if (jailed(td->td_ucred)) in sys_audit()
191 if (jailed(td->td_ucred)) in sys_auditon()
793 if (jailed(td->td_ucred)) in sys_auditctl()
/freebsd/sys/security/mac_ipacl/
H A Dmac_ipacl.c404 if (!jailed(cred)) in ipacl_ip4_check_jail()
425 if (!jailed(cred)) in ipacl_ip6_check_jail()
/freebsd/libexec/save-entropy/
H A Dsave-entropy.sh46 [ $(/sbin/sysctl -n security.jail.jailed) = 0 ] || exit 0

123