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)
commit3b529a7600d834f450ac244f43a7c082687284b4
tree76cfaede7be88ba9890f4cca4533e6bf69ef360a
parent4d2f8ba3e3b76e34f84ae1de456934713e9e59af
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