diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-09-25 02:26:10 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-09-25 02:26:10 +0000 |
commit | de37df3afa1f24621257ddf200beb99f92ff146c (patch) | |
tree | 8b633840fa19fa7ab0bc8b232c43268589dc7fb2 /sys/ufs | |
parent | 94d1575afd5e1866be055e7b5612256b44d3a520 (diff) | |
download | FreeBSD-src-de37df3afa1f24621257ddf200beb99f92ff146c.zip FreeBSD-src-de37df3afa1f24621257ddf200beb99f92ff146c.tar.gz |
o Parallelize the comment on the relationship between privileged un-jailed
processes and the actual securelevel check: make the comment use '> 0'
instead of inverted '<= 0'.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index c108c90..1b2fffa 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -483,8 +483,8 @@ ufs_setattr(ap) /* * Unprivileged processes and privileged processes in * jail() are not permitted to set system flags. - * Privileged processes not in jail() may only set system - * flags if the securelevel <= 0. + * Privileged non-jail processes may not set system flags + * securelevel > 0. */ if (!suser_xxx(cred, NULL, 0)) { if ((ip->i_flags |