summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-10 17:48:00 +0200
committerChristian Brauner <brauner@kernel.org>2026-10-05 13:11:47 +0200
commit31116e528f19545220250209fc5ee71a5a2295ec (patch)
tree3a18c4c840d014fa16ef0d228333be53a640f904 /tools/lib/python
parentf192beb5479a3a87541f3cf8d845abc8ee9959bd (diff)
downloadlinux-next-31116e528f19545220250209fc5ee71a5a2295ec.tar.gz
linux-next-31116e528f19545220250209fc5ee71a5a2295ec.zip
fs: add switch_files_struct()
Add switch_files_struct() to install another table on a task. It consumes the reference to the new table and puts the old one. Convert every place that switches a descriptor table except unshare_files(). No functional changes. Link: https://patch.msgid.link/20260910-work-coredump-unlock-self-v4-2-a5c1800dc930@kernel.org Reviewed-by: NeilBrown <neil@brown.name> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions