]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: rework file permission to cache file access in file->ctx
authorJohn Johansen <john.johansen@canonical.com>
Fri, 9 Jun 2017 23:19:02 +0000 (16:19 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 11 Jun 2017 00:11:44 +0000 (17:11 -0700)
commit95fc96cdc70e3fcdd0651d692dedf57e24eaa51c
tree37c3a7e09e82bf37664476a371f9956d46d52bb5
parent559186284d90f9afe9405b3fa595b3d92365b4a6
apparmor: rework file permission to cache file access in file->ctx

This is a temporary step, towards using the file->ctx for delegation,
and also helps speed up file queries, until the permission lookup
cache is introduced.

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