lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 10 Jun 2023 18:28:58 +0800
From:   YueHaibing <yuehaibing@...wei.com>
To:     <jeffxu@...gle.com>
CC:     <linux-kernel@...r.kernel.org>, <keescook@...omium.org>,
        <mcgrof@...nel.org>, <akpm@...ux-foundation.org>,
        YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] kernel: pid_namespace: Remove unused set_memfd_noexec_scope()

This inline function is unused, remove it.

Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
 kernel/pid_sysctl.h | 1 -
 1 file changed, 1 deletion(-)

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
 
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ