]> git.baikalelectronics.ru Git - kernel.git/commit
apparmor: move task domain change info to task security
authorJohn Johansen <john.johansen@canonical.com>
Fri, 20 Jan 2017 09:59:25 +0000 (01:59 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 9 Feb 2018 19:30:01 +0000 (11:30 -0800)
commit2a65c4d630b1f2f335f6fd83af72cbc00f217232
tree76cfaede7be88ba9890f4cca4533e6bf69ef360a
parent731832c961613d9597796c8d137c3c78264bbfce
apparmor: move task domain change info to task security

The task domain change info is task specific and its and abuse of
the cred to store the information in there. Now that a task->security
field exists store it in the proper place.

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