41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: /virtual/main.c:1:30: error: expected expression
41: int failure(void *ctx) { if (); return 0; }
41: ^
41: 4 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:2:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: In file included from <built-in>:317:
41: In file included from <command line>:12:
41: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
41: ^
41: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
41: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
41: ^
41: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
41: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:88:25: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[3] | set->sig[2] |
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:89:4: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:91:11: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: return (set->sig[1] | set->sig[0]) == 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:129:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigorsets, _sig_or)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:132:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandsets, _sig_and)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:8: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:112:24: note: expanded from macro '_SIG_SET_BINOP'
41: a3 = a->sig[3]; a2 = a->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:8: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:113:24: note: expanded from macro '_SIG_SET_BINOP'
41: b3 = b->sig[3]; b2 = b->sig[2]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:114:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[3] = op(a3, b3); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:115:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[2] = op(a2, b2); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:8: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:117:24: note: expanded from macro '_SIG_SET_BINOP'
41: a1 = a->sig[1]; b1 = b->sig[1]; \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:135:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_BINOP(sigandnsets, _sig_andn)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:118:3: note: expanded from macro '_SIG_SET_BINOP'
41: r->sig[1] = op(a1, b1); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:27: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:146:10: note: expanded from macro '_SIG_SET_OP'
41: case 4: set->sig[3] = op(set->sig[3]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:20: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:147:3: note: expanded from macro '_SIG_SET_OP'
41: set->sig[2] = op(set->sig[2]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:27: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: include/linux/signal.h:156:24: note: expanded from macro '_sig_not'
41: #define _sig_not(x) (~(x))
41: ^
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:157:1: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: _SIG_SET_OP(signotset, _sig_not)
41: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41: include/linux/signal.h:148:10: note: expanded from macro '_SIG_SET_OP'
41: case 2: set->sig[1] = op(set->sig[1]); \
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:168:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:180:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:210:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = 0;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: In file included from /virtual/main.c:1:
41: In file included from include/linux/blkdev.h:4:
41: In file included from include/linux/sched.h:37:
41: include/linux/signal.h:222:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds]
41: case 2: set->sig[1] = -1;
41: ^ ~
41: arch/x86/include/asm/signal.h:23:2: note: array 'sig' declared here
41: unsigned long sig[_NSIG_WORDS];
41: ^
41: 41 warnings and 3 errors generated.
41: EEEEEEEEEEEEEEEEE.EE
41: Failed tests:
41: -------------
41: 1) TestClang.test_blk_start_request
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:129: in function 'TestClang.test_blk_start_request'
41:
41: 2) TestClang.test_bpf_hash
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:139: in function 'TestClang.test_bpf_hash'
41:
41: 3) TestClang.test_cflags
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:318: in function 'TestClang.test_cflags'
41:
41: 4) TestClang.test_char_array_probe
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:180: in function 'TestClang.test_char_array_probe'
41:
41: 5) TestClang.test_complex_leaf_types
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:305: in function 'TestClang.test_complex_leaf_types'
41:
41: 6) TestClang.test_consecutive_probe_read
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:161: in function 'TestClang.test_consecutive_probe_read'
41:
41: 7) TestClang.test_exported_maps
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'BPF'
41: test_clang.lua:322: in function 'TestClang.test_exported_maps'
41:
41: 8) TestClang.test_iosnoop
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:116: in function 'TestClang.test_iosnoop'
41:
41: 9) TestClang.test_nested_probe_read
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:175: in function 'TestClang.test_nested_probe_read'
41:
41: 10) TestClang.test_probe_read1
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:13: in function 'TestClang.test_probe_read1'
41:
41: 11) TestClang.test_probe_read2
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:25: in function 'TestClang.test_probe_read2'
41:
41: 12) TestClang.test_probe_read_helper
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:188: in function 'TestClang.test_probe_read_helper'
41:
41: 13) TestClang.test_probe_read_keys
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:48: in function 'TestClang.test_probe_read_keys'
41:
41: 14) TestClang.test_probe_simple_assign
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:256: in function 'TestClang.test_probe_simple_assign'
41:
41: 15) TestClang.test_probe_struct_assign
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:212: in function 'TestClang.test_probe_struct_assign'
41:
41: 16) TestClang.test_sscanf
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:60: in function 'TestClang.test_sscanf'
41:
41: 17) TestClang.test_sscanf_array
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:81: in function 'TestClang.test_sscanf_array'
41:
41: 18) TestClang.test_task_switch
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:232: in function 'TestClang.test_task_switch'
41:
41: 19) TestClang.test_unop_probe_read
41: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
41: stack traceback:
41: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
41: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
41: test_clang.lua:281: in function 'TestClang.test_unop_probe_read'
41:
41: Ran 20 tests in 7.664 seconds, 1 successes, 19 errors
41: Failed
41/44 Test #41: lua_test_clang ...................***Failed 7.74 sec
test 42
Start 42: lua_test_uprobes
42: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_uprobes" "sudo" "/usr/bin/luajit" "test_uprobes.lua"
42: Test timeout computed to be: 9.99988e+06
42: In file included from <built-in>:317:
42: In file included from <command line>:12:
42: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
42: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
42: ^
42: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
42: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
42: ^
42: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
42: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
42: ^
42: 3 errors generated.
42: In file included from <built-in>:317:
42: In file included from <command line>:12:
42: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
42: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
42: ^
42: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
42: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
42: ^
42: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
42: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
42: ^
42: 3 errors generated.
42: EE
42: Failed tests:
42: -------------
42: 1) TestUprobes.test_simple_binary
42: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
42: stack traceback:
42: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
42: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
42: test_uprobes.lua:56: in function 'TestUprobes.test_simple_binary'
42:
42: 2) TestUprobes.test_simple_library
42: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
42: stack traceback:
42: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
42: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
42: test_uprobes.lua:29: in function 'TestUprobes.test_simple_library'
42:
42: Ran 2 tests in 0.354 seconds, 0 successes, 2 errors
42: Failed
42/44 Test #42: lua_test_uprobes .................***Failed 0.37 sec
test 43
Start 43: lua_test_dump
43: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/build/tests/wrapper.sh "lua_test_dump" "sudo" "/usr/bin/luajit" "test_dump.lua"
43: Test timeout computed to be: 9.99988e+06
43: In file included from <built-in>:317:
43: In file included from <command line>:12:
43: /virtual/include/bcc/helpers.h:798:14: error: illegal initializer (only variables can be initialized)
43: static void *bpf_per_cpu_ptr(const void *percpu_ptr, u32 cpu) =
43: ^
43: /virtual/include/bcc/helpers.h:800:14: error: illegal initializer (only variables can be initialized)
43: static void *bpf_this_cpu_ptr(const void *percpu_ptr) =
43: ^
43: /virtual/include/bcc/helpers.h:802:6: error: illegal initializer (only variables can be initialized)
43: long bpf_redirect_peer(u32 ifindex, u64 flags) = (void *)BPF_FUNC_redirect_peer;
43: ^
43: 3 errors generated.
43: E
43: Failed tests:
43: -------------
43: 1) TestDump.test_dump_func
43: .//../../src/lua/bcc/bpf.lua:136: failed to compile BPF module
43: stack traceback:
43: .//../../src/lua/bcc/bpf.lua:136: in function 'initialize'
43: .//../../src/lua/bcc/vendor/middleclass.lua:131: in function 'new'
43: test_dump.lua:6: in function 'TestDump.test_dump_func'
43:
43: Ran 1 tests in 0.177 seconds, 0 successes, 1 errors
43: Failed
43/44 Test #43: lua_test_dump ....................***Failed 0.19 sec
test 44
Start 44: lua_test_standalone
44: Test command: /home/iovisor/jenkins/workspace/bcc-pr/label/ubuntu1604/tests/lua/test_standalone.sh
44: Test timeout computed to be: 9.99988e+06
44: + cd src/lua
44: + [[ ! -x bcc-lua ]]
44: + echo 'bcc-lua not built --- skipping'
44: bcc-lua not built --- skipping
44: + exit 0
44/44 Test #44: lua_test_standalone .............. Passed 0.00 sec
30% tests passed, 31 tests failed out of 44
Total Test time (real) = 111.17 sec
The following tests FAILED:
2 - c_test_static (Failed)
3 - test_libbcc (Failed)
4 - py_test_stat1_b (Failed)
5 - py_test_bpf_log (Failed)
6 - py_test_stat1_c (Failed)
7 - py_test_xlate1_c (Failed)
8 - py_test_call1 (Failed)
9 - py_test_trace1 (Failed)
10 - py_test_trace2 (Failed)
11 - py_test_trace3_c (Failed)
12 - py_test_trace4 (Failed)
13 - py_test_trace_maxactive (Failed)
14 - py_test_probe_count (Failed)
16 - py_test_brb (Failed)
18 - py_test_clang (Failed)
19 - py_test_histogram (Failed)
20 - py_array (Failed)
21 - py_uprobes (Failed)
22 - py_uprobes_2 (Failed)
25 - py_test_perf_event (Failed)
28 - py_test_dump_func (Failed)
29 - py_test_disassembler (Failed)
30 - py_test_tools_smoke (Failed)
32 - py_test_usdt (Failed)
33 - py_test_usdt2 (Failed)
34 - py_test_usdt3 (Failed)
35 - py_test_license (Failed)
37 - py_test_rlimit (Failed)
41 - lua_test_clang (Failed)
42 - lua_test_uprobes (Failed)
43 - lua_test_dump (Failed)
Errors while running CTest
Build step 'Execute shell' marked build as failure
Taking single-use slave ubuntu1604-slave-110 offline.
Finished: FAILURE