diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index 0b3138de2a3b..2a4574f48001 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -257,7 +257,7 @@ other_perms: | |||
257 | /** | 257 | /** |
258 | * generic_permission - check for access rights on a Posix-like filesystem | 258 | * generic_permission - check for access rights on a Posix-like filesystem |
259 | * @inode: inode to check access rights for | 259 | * @inode: inode to check access rights for |
260 | * @mask: right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC) | 260 | * @mask: right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC, ...) |
261 | * | 261 | * |
262 | * Used to check for read/write/execute permissions on a file. | 262 | * Used to check for read/write/execute permissions on a file. |
263 | * We use "fsuid" for this, letting us set arbitrary permissions | 263 | * We use "fsuid" for this, letting us set arbitrary permissions |
@@ -331,7 +331,7 @@ static inline int do_inode_permission(struct inode *inode, int mask) | |||
331 | /** | 331 | /** |
332 | * inode_permission - check for access rights to a given inode | 332 | * inode_permission - check for access rights to a given inode |
333 | * @inode: inode to check permission on | 333 | * @inode: inode to check permission on |
334 | * @mask: right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC) | 334 | * @mask: right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC, ...) |
335 | * | 335 | * |
336 | * Used to check for read/write/execute permissions on an inode. | 336 | * Used to check for read/write/execute permissions on an inode. |
337 | * We use "fsuid" for this, letting us set arbitrary permissions | 337 | * We use "fsuid" for this, letting us set arbitrary permissions |