Re: [PATCH 4.19 21/57] proc: dont allow async path resolution of /proc/self components

2021-03-02 Thread Jens Axboe
On 3/2/21 1:40 AM, Yang Yingliang wrote: > Hi, > > On 2020/12/1 16:53, Greg Kroah-Hartman wrote: >> From: Jens Axboe >> >> [ Upstream commit 8d4c3e76e3be11a64df95ddee52e99092d42fc19 ] >> >> If this is attempted by a kthread, then return -EOPNOTSUPP as we don't >> currently support that. Once we c

Re: [PATCH 4.19 21/57] proc: dont allow async path resolution of /proc/self components

2021-03-02 Thread Yang Yingliang
Hi, On 2020/12/1 16:53, Greg Kroah-Hartman wrote: From: Jens Axboe [ Upstream commit 8d4c3e76e3be11a64df95ddee52e99092d42fc19 ] If this is attempted by a kthread, then return -EOPNOTSUPP as we don't currently support that. Once we can get task_pid_ptr() doing the right thing, then this can go

[PATCH 4.19 21/57] proc: dont allow async path resolution of /proc/self components

2020-12-01 Thread Greg Kroah-Hartman
From: Jens Axboe [ Upstream commit 8d4c3e76e3be11a64df95ddee52e99092d42fc19 ] If this is attempted by a kthread, then return -EOPNOTSUPP as we don't currently support that. Once we can get task_pid_ptr() doing the right thing, then this can go away again. Signed-off-by: Jens Axboe Signed-off-b