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'.
This commit is contained in:
Robert Watson 2001-09-25 02:26:10 +00:00
parent f5ef42be31
commit 82e83c60b3

View File

@ -483,8 +483,8 @@ ufs_setattr(ap)
/* /*
* Unprivileged processes and privileged processes in * Unprivileged processes and privileged processes in
* jail() are not permitted to set system flags. * jail() are not permitted to set system flags.
* Privileged processes not in jail() may only set system * Privileged non-jail processes may not set system flags
* flags if the securelevel <= 0. * securelevel > 0.
*/ */
if (!suser_xxx(cred, NULL, 0)) { if (!suser_xxx(cred, NULL, 0)) {
if ((ip->i_flags if ((ip->i_flags