summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-10 17:48:06 +0200
committerChristian Brauner <brauner@kernel.org>2026-09-25 16:56:13 +0200
commitfb81dbaa1feea4942941339f2e36498365b80454 (patch)
tree5745b43856030fe73edcb7f2a6ab0e59f936c727 /include/linux
parentc1ed65ea167bd064325d99528078ae45836b918c (diff)
downloadlinux-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/linux')
-rw-r--r--include/linux/fdtable.h2
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 *);