Fix typo in last commit.
This commit is contained in:
parent
34d64f6e80
commit
30c0d10f82
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user