Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_jail.c
Show First 20 Lines • Show All 3,313 Lines • ▼ Show 20 Lines | #endif | ||||
case PRIV_VFS_STAT: | case PRIV_VFS_STAT: | ||||
case PRIV_VFS_STICKYFILE: | case PRIV_VFS_STICKYFILE: | ||||
/* | /* | ||||
* As in the non-jail case, non-root users are expected to be | * As in the non-jail case, non-root users are expected to be | ||||
* able to read kernel/phyiscal memory (provided /dev/[k]mem | * able to read kernel/phyiscal memory (provided /dev/[k]mem | ||||
* exists in the jail and they have permission to access it). | * exists in the jail and they have permission to access it). | ||||
*/ | */ | ||||
case PRIV_IO: | |||||
case PRIV_KMEM_READ: | case PRIV_KMEM_READ: | ||||
case PRIV_KMEM_WRITE: | |||||
return (0); | return (0); | ||||
/* | /* | ||||
* Depending on the global setting, allow privilege of | * Depending on the global setting, allow privilege of | ||||
* setting system flags. | * setting system flags. | ||||
*/ | */ | ||||
case PRIV_VFS_SYSFLAGS: | case PRIV_VFS_SYSFLAGS: | ||||
if (cred->cr_prison->pr_allow & PR_ALLOW_CHFLAGS) | if (cred->cr_prison->pr_allow & PR_ALLOW_CHFLAGS) | ||||
▲ Show 20 Lines • Show All 942 Lines • Show Last 20 Lines |