Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Revert "proc: don't allow async path resolution of /proc/self components"

This reverts commit 8d4c3e76e3be11a64df95ddee52e99092d42fc19.

No longer needed, as the io-wq worker threads have the right identity.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

-7
-7
fs/proc/self.c
··· 16 16 pid_t tgid = task_tgid_nr_ns(current, ns); 17 17 char *name; 18 18 19 - /* 20 - * Not currently supported. Once we can inherit all of struct pid, 21 - * we can allow this. 22 - */ 23 - if (current->flags & PF_KTHREAD) 24 - return ERR_PTR(-EOPNOTSUPP); 25 - 26 19 if (!tgid) 27 20 return ERR_PTR(-ENOENT); 28 21 /* max length of unsigned int in decimal + NULL term */