aboutsummaryrefslogtreecommitdiff
path: root/pathtrace.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-02-12 16:15:23 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-02-13 00:57:00 +0000
commitf9f04f74fc8b4a48033795f024b87e76772671c5 (patch)
tree96f29fc4b2cc7333862c451a0969daf9a6f29886 /pathtrace.c
parent3a630751eb7ce8f18a5b4cd5687c61a0ac78b6b3 (diff)
downloadstrace-f9f04f74fc8b4a48033795f024b87e76772671c5.tar.gz
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.
Diffstat (limited to 'pathtrace.c')
-rw-r--r--pathtrace.c2
1 files changed, 1 insertions, 1 deletions
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: