]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: rework and cleanup fperm computation
authorJohn Johansen <john.johansen@canonical.com>
Thu, 12 Nov 2020 18:26:26 +0000 (10:26 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:02 +0000 (14:49 -0700)
commit0310f093ba95e7640c886298de36560c123df5bd
tree084c0e3a22357cad3b0aed57ce4734f578df97ea
parent754f209b811ac462e00ed0f79b48047c446f5c43
apparmor: rework and cleanup fperm computation

shorten the name of some of the mapping functions which shortens line
lengths.

change the mapping so it returns the perm table instead of operating
directly on the file struct.

Handle potential memory allocation failure.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_unpack.c