AppArmor: Move path failure information into aa_get_name and rename
Move the path name lookup failure messages into the main path name lookup routine, as the information is useful in more than just aa_path_perm. Also rename aa_get_name to aa_path_name as it is not getting a reference counted object with a corresponding put fn. Signed-off-by:John Johansen <john.johansen@canonical.com> Acked-by:
Kees Cook <kees@ubuntu.com>
Showing
- security/apparmor/domain.c 2 additions, 3 deletionssecurity/apparmor/domain.c
- security/apparmor/file.c 7 additions, 11 deletionssecurity/apparmor/file.c
- security/apparmor/include/path.h 2 additions, 1 deletionsecurity/apparmor/include/path.h
- security/apparmor/path.c 18 additions, 4 deletionssecurity/apparmor/path.c
Loading
Please register or sign in to comment