]> asedeno.scripts.mit.edu Git - linux.git/commit
tomoyo: Swicth from cred->security to task_struct->security.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 19 Jan 2019 14:11:40 +0000 (23:11 +0900)
committerJames Morris <james.morris@microsoft.com>
Wed, 23 Jan 2019 19:36:15 +0000 (11:36 -0800)
commit8c6cb983cd52d78ab4e4c0191c73a11dcb60b866
treec79c9274855fa8dcb1a7fa0da75c710036351c25
parent23711df7f4a268dce2adba379ad77ded8220d097
tomoyo: Swicth from cred->security to task_struct->security.

TOMOYO security module is designed to use "struct task_struct"->security
in order to allow per "struct task_struct" tracking without being disturbed
by unable to update "struct cred"->security due to override mechanism.

Now that infrastructure-managed security blob is ready, this patch updates
TOMOYO to use "struct task_struct"->security.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/tomoyo/common.c
security/tomoyo/common.h
security/tomoyo/domain.c
security/tomoyo/securityfs_if.c
security/tomoyo/tomoyo.c