apparmor: Adjust offset when accessing task blob.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Mon, 21 Jan 2019 01:25:10 +0000 (10:25 +0900)
committerJames Morris <james.morris@microsoft.com>
Tue, 22 Jan 2019 22:38:59 +0000 (14:38 -0800)
commit6c2976b06f6813768d3e61aeeb2b3fb04597a25f
tree06f1967cb7b9121245dbc8cbb8230840d72682dd
parent9624d5c9c7ff6836bbf9f9b230fd1fcf3d56f91a
apparmor: Adjust offset when accessing task blob.

AppArmor will no longer be the only user of task blob
after TOMOYO started using task blob.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fixes: f4ad8f2c4076 ("LSM: Infrastructure management of the task security")
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/apparmor/include/task.h