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]
Message-ID: <20250812083011.992-1-bajing@cmss.chinamobile.com>
Date: Tue, 12 Aug 2025 16:30:10 +0800
From: bajing <bajing@...s.chinamobile.com>
To: kees@...nel.org
Cc: luto@...capital.net,
	wad@...omium.org,
	shuah@...nel.org,
	linux-kselftest@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	bpf@...r.kernel.org,
	bajing <bajing@...s.chinamobile.com>
Subject: [PATCH] seccomp:seccomp_bpf: remove unused macros

After reviewing the code, it was found that these macros are never
referenced in the code. Just remove them.

Signed-off-by: bajing <bajing@...s.chinamobile.com>
---
 tools/testing/selftests/seccomp/seccomp_bpf.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c
index 61acbd45ffaa..a80bcc5149bf 100644
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
@@ -78,18 +78,6 @@
 #define PR_GET_NO_NEW_PRIVS 39
 #endif
 
-#ifndef PR_SECCOMP_EXT
-#define PR_SECCOMP_EXT 43
-#endif
-
-#ifndef SECCOMP_EXT_ACT
-#define SECCOMP_EXT_ACT 1
-#endif
-
-#ifndef SECCOMP_EXT_ACT_TSYNC
-#define SECCOMP_EXT_ACT_TSYNC 1
-#endif
-
 #ifndef SECCOMP_MODE_STRICT
 #define SECCOMP_MODE_STRICT 1
 #endif
-- 
2.33.0




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ