diff options
author | Andy Lutomirski <[email protected]> | 2017-11-04 04:19:48 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-11-07 11:13:42 +0100 |
commit | 693cb5580fdb026922363aa103add64b3ecd572e (patch) | |
tree | 0b13b9afba87dca956660d0a6ecb5bf0b5efea91 /scripts/gdb/linux | |
parent | f3a624e901c633593156f7b00ca743a6204a29bc (diff) |
selftests/x86/protection_keys: Fix syscall NR redefinition warnings
On new enough glibc, the pkey syscalls numbers are available. Check
first before defining them to avoid warnings like:
protection_keys.c:198:0: warning: "SYS_pkey_alloc" redefined
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/1fbef53a9e6befb7165ff855fc1a7d4788a191d6.1509794321.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions