Will Deacon db3b02ae89 sched: Split the guts of sched_setaffinity() into a helper function
In preparation for replaying user affinity requests using a saved mask,
split sched_setaffinity() up so that the initial task lookup and
security checks are only performed when the request is coming directly
from userspace.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <Valentin.Schneider@arm.com>
Link: https://lore.kernel.org/r/20210730112443.23245-8-will@kernel.org
2021-08-20 12:33:00 +02:00
..
2021-03-22 00:11:52 +01:00
2021-05-12 11:43:26 +02:00
2021-03-22 00:11:52 +01:00
2020-10-29 11:00:30 +01:00
2021-08-20 12:32:58 +02:00
2021-08-20 12:32:58 +02:00
2021-05-12 11:43:30 +02:00
2021-03-22 00:11:52 +01:00
2021-08-20 12:32:58 +02:00
2021-03-22 00:11:52 +01:00
2021-06-18 11:43:07 +02:00