diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-02-19 13:33:10 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-02-19 13:33:10 +0000 |
commit | d298e8c0c269ddbcd6979437a7f31d21acc482f1 (patch) | |
tree | 1afe170b3c52f4fde379018a84f110d151b03de9 /sys/kern | |
parent | 58e926bc9496da2b6024e2b8f33bd40c45a00fd6 (diff) | |
download | FreeBSD-src-d298e8c0c269ddbcd6979437a7f31d21acc482f1.zip FreeBSD-src-d298e8c0c269ddbcd6979437a7f31d21acc482f1.tar.gz |
Rename three quota privileges from the UFS privilege namespace to the
VFS privilege namespace: exceedquota, getquota, and setquota. Leave
UFS-specific quota configuration privileges in the UFS name space.
This renumbers VFS and UFS privileges, so requires rebuilding modules
if you are using security policies aware of privilege identifiers.
This is likely no one at this point since none of the committed MAC
policies use the privilege checks.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_jail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 8495fb9..98deb3f 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -621,8 +621,8 @@ prison_priv_check(struct ucred *cred, int priv) * properties. These should likely be conditional on a * configuration option. */ - case PRIV_UFS_GETQUOTA: - case PRIV_UFS_SETQUOTA: + case PRIV_VFS_GETQUOTA: + case PRIV_VFS_SETQUOTA: /* * Since Jail relies on chroot() to implement file system |