Re: [PATCH] tomoyo: don't special case PF_IO_WORKER for PF_KTHREAD

2021-03-26 Thread Jens Axboe
On 3/26/21 10:03 AM, Casey Schaufler wrote: > On 3/25/2021 5:44 PM, Jens Axboe wrote: >> The io_uring PF_IO_WORKER threads no longer have PF_KTHREAD set, so no >> need to special case them for credential checks. > > Could you cite the commit where that change was made? See previous reply, same on

Re: [PATCH] tomoyo: don't special case PF_IO_WORKER for PF_KTHREAD

2021-03-26 Thread Casey Schaufler
On 3/25/2021 5:44 PM, Jens Axboe wrote: > The io_uring PF_IO_WORKER threads no longer have PF_KTHREAD set, so no > need to special case them for credential checks. Could you cite the commit where that change was made? > > Cc: Tetsuo Handa > Signed-off-by: Jens Axboe > --- > security/tomoyo/net

[PATCH] tomoyo: don't special case PF_IO_WORKER for PF_KTHREAD

2021-03-25 Thread Jens Axboe
The io_uring PF_IO_WORKER threads no longer have PF_KTHREAD set, so no need to special case them for credential checks. Cc: Tetsuo Handa Signed-off-by: Jens Axboe --- security/tomoyo/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/tomoyo/network.c b/securi