[PATCH v3] tomoyo: Swicth from cred->security to task_struct->security.

Tetsuo Handa penguin-kernel at I-love.SAKURA.ne.jp
Wed Jan 23 09:49:25 UTC 2019


Hello.

This is effectively a pull request, for I don't maintain a git tree.
If no questions, please apply to linux-security.git#next-general.

On 2019/01/19 23:11, Tetsuo Handa wrote:
> 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 at I-love.SAKURA.ne.jp>
> ---
>  security/tomoyo/common.c        |   4 +-
>  security/tomoyo/common.h        |  45 ++++--------
>  security/tomoyo/domain.c        |  11 +--
>  security/tomoyo/securityfs_if.c |  21 ++----
>  security/tomoyo/tomoyo.c        | 149 +++++++++++++++++++++-------------------
>  5 files changed, 108 insertions(+), 122 deletions(-)



More information about the Linux-security-module-archive mailing list