diff options
| author | Al Viro <[email protected]> | 2008-07-17 13:19:08 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2008-07-27 00:53:21 +0000 |
| commit | a110343f0d6d41f68b7cf8c00b57a3172c67f816 (patch) | |
| tree | 04f57e3454e796765a7395d2ece4739cf536ae9f /security/selinux/hooks.c | |
| parent | [PATCH] kill altroot (diff) | |
| download | kernel-a110343f0d6d41f68b7cf8c00b57a3172c67f816.tar.gz kernel-a110343f0d6d41f68b7cf8c00b57a3172c67f816.zip | |
[PATCH] fix MAY_CHDIR/MAY_ACCESS/LOOKUP_ACCESS mess
* MAY_CHDIR is redundant - it's an equivalent of MAY_ACCESS
* MAY_ACCESS on fuse should affect only the last step of pathname resolution
* fchdir() and chroot() should pass MAY_ACCESS, for the same reason why
chdir() needs that.
* now that we pass MAY_ACCESS explicitly in all cases, LOOKUP_ACCESS can be
removed; it has no business being in nameidata.
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
