From: Dmitry V. Levin Date: Tue, 12 Jan 2016 02:04:44 +0000 (+0000) Subject: Update PTRACE_* constants X-Git-Tag: v4.12~651 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65f8d39278004a6a57457aea9d201203ec6ee383;p=strace Update PTRACE_* constants * ptrace.h (PTRACE_SECCOMP_GET_FILTER): Define. * xlat/ptrace_cmds.in: Add PTRACE_SECCOMP_GET_FILTER. --- diff --git a/ptrace.h b/ptrace.h index d8af9760..2e7d5e32 100644 --- a/ptrace.h +++ b/ptrace.h @@ -5,7 +5,7 @@ * Copyright (c) 2004 Roland McGrath * Copyright (c) 2010 Wang Chao * Copyright (c) 2011-2013 Denys Vlasenko - * Copyright (c) 2011-2015 Dmitry V. Levin + * Copyright (c) 2011-2016 Dmitry V. Levin * Copyright (c) 2013 Ali Polatel * Copyright (c) 2015 Mike Frysinger * 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 diff --git a/xlat/ptrace_cmds.in b/xlat/ptrace_cmds.in index 257420b3..5e4da834 100644 --- a/xlat/ptrace_cmds.in +++ b/xlat/ptrace_cmds.in @@ -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