diff options
| author | 2020-09-18 20:13:06 -0600 | |
|---|---|---|
| committer | 2020-09-30 20:32:32 -0600 | |
| commit | 9b8284921513fc1ea57d87777283a59b05862f03 (patch) | |
| tree | e9189b99746af8e30db89f81b025fd1d7e282431 /net/unix/scm.c | |
| parent | io_uring: don't rely on weak ->files references (diff) | |
| download | linux-rng-9b8284921513fc1ea57d87777283a59b05862f03.tar.xz linux-rng-9b8284921513fc1ea57d87777283a59b05862f03.zip | |
io_uring: reference ->nsproxy for file table commands
If we don't get and assign the namespace for the async work, then certain
paths just don't work properly (like /dev/stdin, /proc/mounts, etc).
Anything that references the current namespace of the given task should
be assigned for async work on behalf of that task.
Cc: stable@vger.kernel.org # v5.5+
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
