From: Dmitry V. Levin Date: Fri, 12 Feb 2016 16:15:23 +0000 (+0000) Subject: Fix pathtrace match for pipe2 syscall X-Git-Tag: v4.12~564 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9f04f74fc8b4a48033795f024b87e76772671c5;p=strace Fix pathtrace match for pipe2 syscall * pathtrace.c (pathtrace_match): As pipe2 syscall has no descriptors or paths to test, move SEN_pipe2 to the appropriate category. --- diff --git a/pathtrace.c b/pathtrace.c index e72cdf71..b2271c45 100644 --- a/pathtrace.c +++ b/pathtrace.c @@ -181,7 +181,6 @@ pathtrace_match(struct tcb *tcp) case SEN_name_to_handle_at: case SEN_newfstatat: case SEN_openat: - case SEN_pipe2: case SEN_readlinkat: case SEN_unlinkat: case SEN_utimensat: @@ -327,6 +326,7 @@ pathtrace_match(struct tcb *tcp) case SEN_memfd_create: case SEN_perf_event_open: case SEN_pipe: + case SEN_pipe2: case SEN_printargs: case SEN_socket: case SEN_socketpair: