[apparmor] [PATCH] apparmor: fix possible NULL pointer dereference

2024-05-08 Thread Leesoo Ahn
CR4: 0000000006f0 Signed-off-by: Leesoo Ahn --- security/apparmor/apparmorfs.c | 4 1 file changed, 4 insertions(+) diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c index bcfea073e3f2..01b923d97a44 100644 --- a/security/apparmor/apparmorfs.c +++ b/security/appa

[apparmor] [PATCH] apparmor: domain: clean up duplicated parts of handle_onexec()

2024-07-10 Thread Leesoo Ahn
unix_socket_autobind unlink userns xattrs xattrs_profile longpath nfs exec_stack aa_policy_cache nnp stackonexec stackprofile FAILED: make: Leaving directory '/apparmor/tests/regression/apparmor' Signed-off-by: Leesoo Ahn --- security/apparmor/domain.c | 37 +++