diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-09-10 17:48:06 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-25 16:56:13 +0200 |
| commit | fb81dbaa1feea4942941339f2e36498365b80454 (patch) | |
| tree | 5745b43856030fe73edcb7f2a6ab0e59f936c727 /include | |
| parent | c1ed65ea167bd064325d99528078ae45836b918c (diff) | |
| download | linux-next-fb81dbaa1feea4942941339f2e36498365b80454.tar.gz linux-next-fb81dbaa1feea4942941339f2e36498365b80454.zip | |
fs: rename do_close_on_exec() to close_cloexec_files()
Rename the helper and align it with close_files().
No functional changes.
Link: https://patch.msgid.link/20260910-work-coredump-unlock-self-v4-8-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 'include')
| -rw-r--r-- | include/linux/fdtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index 666808a1caf5..2965acd120bc 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -106,7 +106,7 @@ struct fd_range { unsigned int from, to; }; struct files_struct *dup_fd(struct files_struct *, struct fd_range *) __latent_entropy; -void do_close_on_exec(struct files_struct *); +void close_cloexec_files(struct files_struct *); int iterate_fd(struct files_struct *, unsigned, int (*)(const void *, struct file *, unsigned), const void *); |
