[PATCH v4 1/4] Add seccomp-filter syscall flag

Dmitry V. Levin ldv at altlinux.org
Sat Aug 31 17:14:56 UTC 2019


On Thu, Aug 29, 2019 at 03:58:55PM +0200, Paul Chaignon wrote:
> This commit adds a new syscall flag for syscall that are traced by default
> under seccomp-filter.

It's a seccomp filter, I think we should not use hyphen here ...

[...]
> --- a/sysent.h
> +++ b/sysent.h
> @@ -36,5 +36,6 @@ typedef struct sysent {
>  # define TRACE_FSTAT			00400000	/* Trace *fstat{,at}{,64} syscalls. */
>  # define TRACE_STAT_LIKE		01000000	/* Trace *{,l,f}stat{,x,at}{,64} syscalls. */
>  # define TRACE_PURE			02000000	/* Trace getter syscalls with no arguments. */
> +# define TRACE_SECCOMP_DEFAULT		04000000	/* Syscall is traced by seccomp-filter by default. */

... and here.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20190831/b665f26a/attachment.bin>


More information about the Strace-devel mailing list