From f9f04f74fc8b4a48033795f024b87e76772671c5 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 12 Feb 2016 16:15:23 +0000 Subject: [PATCH] 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. --- pathtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: