[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dc7db429-1461-a372-df09-cd6595fc2dd4@i-love.sakura.ne.jp>
Date: Fri, 27 Nov 2020 19:52:13 +0900
From: Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
To: Zheng Zengkai <zhengzengkai@...wei.com>
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, jmorris@...ei.org, serge@...lyn.com,
weiyongjun1@...wei.com
Subject: Re: [PATCH] tomoyo: Avoid potential null pointer access
On 2020/11/27 16:17, Zheng Zengkai wrote:
> Hello Tetsuo,
>> On 2020/11/26 15:33, Zheng Zengkai wrote:
>>> As your say, I found the function tomoyo_assign_namespace( )
>>>
>>> in security/tomoyo/domain.c has the similar situation,
>>>
>>> Can I add __GFP_NOWARN for both and remove the null check for _entry_ in tomoyo_assign_namespace( )?
>>>
>> Good catch. Yes, please send as a patch.
>> .
>
> I have resent a patch, thanks!
>
Applied to tomoyo-test1.git tree. Thank you.
By the way, since some people automatically backport patches with Fixes: tag,
I think we don't need to add Fixes: tag for patches like this one.
Powered by blists - more mailing lists