apparmor: add cross check permission helper macros
authorJohn Johansen <john.johansen@canonical.com>
Fri, 9 Jun 2017 21:23:09 +0000 (14:23 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 11 Jun 2017 00:11:41 +0000 (17:11 -0700)
commitca916e8e2d88e97134a313eb3100ce9c3d8fd3f2
tree73497dfdf5d28a7a6e4240cd0ea367286e989349
parent86b92cb782b38d71ee344af20fcbe5106dd19dbe
apparmor: add cross check permission helper macros

The cross check permission helper macros will help simplify code
that does cross task permission checks like ptrace.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/include/perms.h