Update PTRACE_* constants
* ptrace.h (PTRACE_SECCOMP_GET_FILTER): Define. * xlat/ptrace_cmds.in: Add PTRACE_SECCOMP_GET_FILTER.
This commit is contained in:
parent
e714b87064
commit
65f8d39278
5
ptrace.h
5
ptrace.h
@ -5,7 +5,7 @@
|
||||
* Copyright (c) 2004 Roland McGrath <roland@redhat.com>
|
||||
* Copyright (c) 2010 Wang Chao <wang.chao@cn.fujitsu.com>
|
||||
* Copyright (c) 2011-2013 Denys Vlasenko <vda.linux@googlemail.com>
|
||||
* Copyright (c) 2011-2015 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* Copyright (c) 2011-2016 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* Copyright (c) 2013 Ali Polatel <alip@exherbo.org>
|
||||
* Copyright (c) 2015 Mike Frysinger <vapier@gentoo.org>
|
||||
* All rights reserved.
|
||||
@ -162,6 +162,9 @@ extern long ptrace(int, int, char *, long);
|
||||
#ifndef PTRACE_SETSIGMASK
|
||||
# define PTRACE_SETSIGMASK 0x420b
|
||||
#endif
|
||||
#ifndef PTRACE_SECCOMP_GET_FILTER
|
||||
# define PTRACE_SECCOMP_GET_FILTER 0x420c
|
||||
#endif
|
||||
|
||||
#if !HAVE_DECL_PTRACE_PEEKUSER
|
||||
# define PTRACE_PEEKUSER PTRACE_PEEKUSR
|
||||
|
@ -32,6 +32,7 @@ PTRACE_LISTEN
|
||||
PTRACE_PEEKSIGINFO
|
||||
PTRACE_GETSIGMASK
|
||||
PTRACE_SETSIGMASK
|
||||
PTRACE_SECCOMP_GET_FILTER
|
||||
/* arch-specific */
|
||||
PTRACE_GET_THREAD_AREA
|
||||
PTRACE_SET_THREAD_AREA
|
||||
|
Loading…
Reference in New Issue
Block a user