* [linux-next:master 4951/14215] usr/include/linux/ptrace.h:76: warning: "PTRACE_GET_SYSCALL_INFO" redefined
@ 2022-03-22 15:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-22 15:05 UTC (permalink / raw)
To: Kees Cook; +Cc: kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f8833a2b23562be2dae91775127c8014c44d8566
commit: b5caa8dd9cc8ad5126f06e9266c326d38a1fc6d2 [4951/14215] samples/seccomp: Improve arch hints
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220322/202203222228.Jqi46omO-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b5caa8dd9cc8ad5126f06e9266c326d38a1fc6d2
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout b5caa8dd9cc8ad5126f06e9266c326d38a1fc6d2
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash samples/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:50: warning: "PTRACE_GETREGSET" redefined
50 | #define PTRACE_GETREGSET 0x4204
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:153: note: this is the location of the previous definition
153 | #define PTRACE_GETREGSET PTRACE_GETREGSET
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:51: warning: "PTRACE_SETREGSET" redefined
51 | #define PTRACE_SETREGSET 0x4205
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:157: note: this is the location of the previous definition
157 | #define PTRACE_SETREGSET PTRACE_SETREGSET
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:53: warning: "PTRACE_SEIZE" redefined
53 | #define PTRACE_SEIZE 0x4206
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:162: note: this is the location of the previous definition
162 | #define PTRACE_SEIZE PTRACE_SEIZE
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:54: warning: "PTRACE_INTERRUPT" redefined
54 | #define PTRACE_INTERRUPT 0x4207
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:166: note: this is the location of the previous definition
166 | #define PTRACE_INTERRUPT PTRACE_INTERRUPT
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:55: warning: "PTRACE_LISTEN" redefined
55 | #define PTRACE_LISTEN 0x4208
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:170: note: this is the location of the previous definition
170 | #define PTRACE_LISTEN PTRACE_LISTEN
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:57: warning: "PTRACE_PEEKSIGINFO" redefined
57 | #define PTRACE_PEEKSIGINFO 0x4209
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:174: note: this is the location of the previous definition
174 | #define PTRACE_PEEKSIGINFO PTRACE_PEEKSIGINFO
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:65: warning: "PTRACE_GETSIGMASK" redefined
65 | #define PTRACE_GETSIGMASK 0x420a
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:178: note: this is the location of the previous definition
178 | #define PTRACE_GETSIGMASK PTRACE_GETSIGMASK
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:66: warning: "PTRACE_SETSIGMASK" redefined
66 | #define PTRACE_SETSIGMASK 0x420b
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:182: note: this is the location of the previous definition
182 | #define PTRACE_SETSIGMASK PTRACE_SETSIGMASK
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:68: warning: "PTRACE_SECCOMP_GET_FILTER" redefined
68 | #define PTRACE_SECCOMP_GET_FILTER 0x420c
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:186: note: this is the location of the previous definition
186 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:69: warning: "PTRACE_SECCOMP_GET_METADATA" redefined
69 | #define PTRACE_SECCOMP_GET_METADATA 0x420d
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:190: note: this is the location of the previous definition
190 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA
|
In file included from samples/seccomp/dropper.c:29:
>> usr/include/linux/ptrace.h:76: warning: "PTRACE_GET_SYSCALL_INFO" redefined
76 | #define PTRACE_GET_SYSCALL_INFO 0x420e
|
In file included from samples/seccomp/dropper.c:24:
/usr/include/sys/ptrace.h:194: note: this is the location of the previous definition
194 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO
|
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-22 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 15:05 [linux-next:master 4951/14215] usr/include/linux/ptrace.h:76: warning: "PTRACE_GET_SYSCALL_INFO" redefined kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox