.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * include/asm-generic/seccomp.h |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2014 Linaro Limited |
---|
5 | 6 | * 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. |
---|
10 | 7 | */ |
---|
11 | 8 | #ifndef _ASM_GENERIC_SECCOMP_H |
---|
12 | 9 | #define _ASM_GENERIC_SECCOMP_H |
---|
.. | .. |
---|
36 | 33 | static const int mode1_syscalls_32[] = { |
---|
37 | 34 | __NR_seccomp_read_32, __NR_seccomp_write_32, |
---|
38 | 35 | __NR_seccomp_exit_32, __NR_seccomp_sigreturn_32, |
---|
39 | | - 0, /* null terminated */ |
---|
| 36 | + -1, /* negative terminated */ |
---|
40 | 37 | }; |
---|
41 | 38 | return mode1_syscalls_32; |
---|
42 | 39 | } |
---|