Skip to content

Commit b665ee5

Browse files
Ba Jingl0kod
authored andcommitted
selftests/landlock: Remove unused macros in ptrace_test.c
After reviewing the code, it was found that these macros are never referenced in the code. Just remove them. Signed-off-by: Ba Jing <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mic: Reword subject] Signed-off-by: Mickaël Salaün <[email protected]>
1 parent 9d89551 commit b665ee5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/testing/selftests/landlock/ptrace_test.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
/* Copied from security/yama/yama_lsm.c */
2323
#define YAMA_SCOPE_DISABLED 0
2424
#define YAMA_SCOPE_RELATIONAL 1
25-
#define YAMA_SCOPE_CAPABILITY 2
26-
#define YAMA_SCOPE_NO_ATTACH 3
2725

2826
static void create_domain(struct __test_metadata *const _metadata)
2927
{

0 commit comments

Comments
 (0)