diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2019-01-05 21:14:42 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2019-01-05 21:14:42 +0000 |
commit | be27e07c97fd1be6db0fbbb00a779049d97d41f9 (patch) | |
tree | 47e827a384142461ddd1c3b57c372b14045d7cd5 /tests/seccomp_get_action_avail.c | |
parent | 48f74df7d3f693b519934b513037467b0a4d2ed2 (diff) | |
download | strace-be27e07c97fd1be6db0fbbb00a779049d97d41f9.tar.gz |
xlat: update SECCOMP_* constants
* xlat/seccomp_ops.in (SECCOMP_GET_NOTIF_SIZES): New constant introduced
by Linux kernel commit v5.0-rc1~66^2~1^2~1.
* xlat/seccomp_ret_action.in (SECCOMP_RET_USER_NOTIF): Likewise.
* xlat/seccomp_filter_flags.in (SECCOMP_FILTER_FLAG_NEW_LISTENER):
Likewise.
* NEWS: Mention this.
* tests/seccomp-filter.c (main): Update expected output.
* tests/seccomp-filter-v.c (main): Likewise.
* tests/seccomp_get_action_avail.c (main): Check SECCOMP_RET_USER_NOTIF.
Diffstat (limited to 'tests/seccomp_get_action_avail.c')
-rw-r--r-- | tests/seccomp_get_action_avail.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/seccomp_get_action_avail.c b/tests/seccomp_get_action_avail.c index 3c92cd843..1fad98db2 100644 --- a/tests/seccomp_get_action_avail.c +++ b/tests/seccomp_get_action_avail.c @@ -58,6 +58,9 @@ main(void) # ifdef SECCOMP_RET_ERRNO { ARG_STR(SECCOMP_RET_ERRNO) }, # endif +# ifdef SECCOMP_RET_USER_NOTIF + { ARG_STR(SECCOMP_RET_USER_NOTIF) }, +# endif # ifdef SECCOMP_RET_TRACE { ARG_STR(SECCOMP_RET_TRACE) }, # endif |