diff options
| author | Jens Axboe <[email protected]> | 2020-09-19 02:13:06 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-10-01 02:32:32 +0000 |
| commit | 9b8284921513fc1ea57d87777283a59b05862f03 (patch) | |
| tree | e9189b99746af8e30db89f81b025fd1d7e282431 /net/unix/scm.c | |
| parent | io_uring: don't rely on weak ->files references (diff) | |
| download | kernel-9b8284921513fc1ea57d87777283a59b05862f03.tar.gz kernel-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: [email protected] # v5.5+
Reported-by: Al Viro <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
