diff options
author | YueHaibing <yuehaibing@huawei.com> | 2023-06-10 13:28:58 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-20 02:19:28 +0300 |
commit | 3efd33b75358185ac9f45cfc189e20712be3570b (patch) | |
tree | e4d4a0337f41f8deeba80b1938bceb29f952cd7b /kernel | |
parent | 65ac132027a884c411b8f9f96d240ba2dde34dec (diff) | |
download | linux-3efd33b75358185ac9f45cfc189e20712be3570b.tar.xz |
kernel: pid_namespace: remove unused set_memfd_noexec_scope()
This inline function is unused, remove it.
Link: https://lkml.kernel.org/r/20230610102858.31488-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Cc: Jeff Xu <jeffxu@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/pid_sysctl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/pid_sysctl.h b/kernel/pid_sysctl.h index d67a4d45bb42..b26e027fc9cd 100644 --- a/kernel/pid_sysctl.h +++ b/kernel/pid_sysctl.h @@ -52,7 +52,6 @@ static inline void register_pid_ns_sysctl_table_vm(void) } #else static inline void initialize_memfd_noexec_scope(struct pid_namespace *ns) {} -static inline void set_memfd_noexec_scope(struct pid_namespace *ns) {} static inline void register_pid_ns_sysctl_table_vm(void) {} #endif |