Fix typo in last commit.

This commit is contained in:
phk 2000-08-20 11:46:39 +00:00
parent 34d64f6e80
commit 30c0d10f82
2 changed files with 2 additions and 4 deletions

View File

@ -2998,7 +2998,7 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
/*
* At this point, uid == 0 can do anything.
* XXX: should use suser() ? */
* XXX: should use suser() ?
* XXX: Should only check root-ness after other checks fail.
*/
if (cred->cr_uid == 0)
@ -3037,4 +3037,3 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
mask |= S_IWOTH;
return ((file_mode & mask) == mask ? 0 : EACCES);
}

View File

@ -2998,7 +2998,7 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
/*
* At this point, uid == 0 can do anything.
* XXX: should use suser() ? */
* XXX: should use suser() ?
* XXX: Should only check root-ness after other checks fail.
*/
if (cred->cr_uid == 0)
@ -3037,4 +3037,3 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
mask |= S_IWOTH;
return ((file_mode & mask) == mask ? 0 : EACCES);
}