Re: [apparmor] [PATCH 3/4] security: add security_path_access hook

2013-11-29 Thread Christian Boltz
Hello, basically what we are just discussing in [PATCH 1/4] security: add security_path_chdir hook also applies here: Am Donnerstag, 28. November 2013 schrieb Seth Arnold: > On Tue, Nov 05, 2013 at 05:35:00AM -0800, John Johansen wrote: > > diff --git a/fs/open.c b/fs/open.c > > index 9505fc5

Re: [apparmor] [PATCH 3/4] security: add security_path_access hook

2013-11-28 Thread Seth Arnold
On Tue, Nov 05, 2013 at 05:35:00AM -0800, John Johansen wrote: > Signed-off-by: John Johansen Very nearly same question with MAY_ACCESS as MAY_CHDIR; both nfs_permission() and fuse_permission() as well as probe_sysfs_permissions() use MAY_ACCESS. And again, I believe this patch as written is corr

[apparmor] [PATCH 3/4] security: add security_path_access hook

2013-11-05 Thread John Johansen
Signed-off-by: John Johansen --- fs/open.c| 4 include/linux/security.h | 12 security/security.c | 7 +++ 3 files changed, 23 insertions(+) diff --git a/fs/open.c b/fs/open.c index 9505fc5..f3e276e 100644 --- a/fs/open.c +++ b/fs/open.c @@ -343,6 +34