diff options
| author | 2026-09-10 17:48:00 +0200 | |
|---|---|---|
| committer | 2026-10-05 13:11:47 +0200 | |
| commit | 31116e528f19545220250209fc5ee71a5a2295ec (patch) | |
| tree | 3a18c4c840d014fa16ef0d228333be53a640f904 /scripts/Makefile.thinlto | |
| parent | fs: don't open-code file_close_fd() in close_fd() (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
