aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorFelix Moessbauer <[email protected]>2024-09-10 17:11:56 +0000
committerJens Axboe <[email protected]>2024-09-11 13:27:56 +0000
commit0997aa5497c714edbb349ca366d28bd550ba3408 (patch)
treea93b91564338bf637de02d9ef7815ec54bee42e8 /security/selinux/hooks.c
parentio_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common() (diff)
downloadkernel-0997aa5497c714edbb349ca366d28bd550ba3408.tar.gz
kernel-0997aa5497c714edbb349ca366d28bd550ba3408.zip
io_uring/io-wq: do not allow pinning outside of cpuset
The io worker threads are userland threads that just never exit to the userland. By that, they are also assigned to a cgroup (the group of the creating task). When changing the affinity of the io_wq thread via syscall, we must only allow cpumasks within the limits defined by the cpuset controller of the cgroup (if enabled). Fixes: da64d6db3bd3 ("io_uring: One wqe per wq") Signed-off-by: Felix Moessbauer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions