forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/mips/include/asm/seccomp.h
....@@ -9,12 +9,12 @@
99 static const int syscalls_O32[] = {
1010 __NR_O32_Linux + 3, __NR_O32_Linux + 4,
1111 __NR_O32_Linux + 1, __NR_O32_Linux + 193,
12
- 0, /* null terminated */
12
+ -1, /* negative terminated */
1313 };
1414 static const int syscalls_N32[] = {
1515 __NR_N32_Linux + 0, __NR_N32_Linux + 1,
1616 __NR_N32_Linux + 58, __NR_N32_Linux + 211,
17
- 0, /* null terminated */
17
+ -1, /* negative terminated */
1818 };
1919
2020 if (IS_ENABLED(CONFIG_MIPS32_O32) && test_thread_flag(TIF_32BIT_REGS))