]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: cleanup: refactor file_perm() to doc semantics of some checks
authorJohn Johansen <john.johansen@canonical.com>
Fri, 19 Jan 2024 09:23:55 +0000 (01:23 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 18 Jan 2025 14:47:12 +0000 (06:47 -0800)
commit34d31f23385b018890295414acaee31d786cf73d
tree8d4f6ee19afa3e0e154ef4afc511db2c491ca992
parent35fad5b462224e0da3764f68b69827281eeaac8c
apparmor: cleanup: refactor file_perm() to doc semantics of some checks

Provide semantics, via fn names, for some checks being done in
file_perm(). This is a preparatory patch for improvements to both
permission caching and delegation, where the check will become more
involved.

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