diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-09-10 17:48:00 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-05 13:11:47 +0200 |
| commit | 31116e528f19545220250209fc5ee71a5a2295ec (patch) | |
| tree | 3a18c4c840d014fa16ef0d228333be53a640f904 /tools/lib/python | |
| parent | f192beb5479a3a87541f3cf8d845abc8ee9959bd (diff) | |
| download | linux-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
