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

James Morris jmorris at namei.org
Wed Jan 23 19:34:59 UTC 2019


On Wed, 23 Jan 2019, Tetsuo Handa wrote:

> 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.

Patches are perfectly fine, just include me in the To: line and say that 
you want it applied.


> 
> 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(-)
> 

-- 
James Morris
<jmorris at namei.org>



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