From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91BE5C282C0 for ; Wed, 23 Jan 2019 19:35:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 622E121855 for ; Wed, 23 Jan 2019 19:35:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725996AbfAWTfF (ORCPT ); Wed, 23 Jan 2019 14:35:05 -0500 Received: from namei.org ([65.99.196.166]:48100 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfAWTfE (ORCPT ); Wed, 23 Jan 2019 14:35:04 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x0NJYxWe030060; Wed, 23 Jan 2019 19:34:59 GMT Date: Thu, 24 Jan 2019 06:34:59 +1100 (AEDT) From: James Morris To: Tetsuo Handa cc: linux-security-module@vger.kernel.org Subject: Re: [PATCH v3] tomoyo: Swicth from cred->security to task_struct->security. In-Reply-To: <765b2ad7-a6a6-617a-5270-c41b1fe43ad4@I-love.SAKURA.ne.jp> Message-ID: References: <1547822987-9401-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <1547907100-10438-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <765b2ad7-a6a6-617a-5270-c41b1fe43ad4@I-love.SAKURA.ne.jp> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: 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 > > --- > > 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