]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: fix apparmor_query data
authorJohn Johansen <john.johansen@canonical.com>
Fri, 9 Jun 2017 09:28:19 +0000 (02:28 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 11 Jun 2017 00:11:33 +0000 (17:11 -0700)
commit744095be9fb44aee446721a13c29264ddd56011c
treeb734286630e135265a4ab3dd1fa47278d7344c0b
parentc7c06fa2bf262c0419946dc67afbd27352bbf7b7
apparmor: fix apparmor_query data

The data being queried isn't always the current profile and a lookup
relative to the current profile should be done.

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