hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/asm-generic/seccomp.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * include/asm-generic/seccomp.h
34 *
45 * Copyright (C) 2014 Linaro Limited
56 * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 */
118 #ifndef _ASM_GENERIC_SECCOMP_H
129 #define _ASM_GENERIC_SECCOMP_H
....@@ -36,7 +33,7 @@
3633 static const int mode1_syscalls_32[] = {
3734 __NR_seccomp_read_32, __NR_seccomp_write_32,
3835 __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32,
39
- 0, /* null terminated */
36
+ -1, /* negative terminated */
4037 };
4138 return mode1_syscalls_32;
4239 }