[PATCH v2] pathtrace: Fix missing syscalls
Nikolay Marchuk
marchuk.nikolay.a at gmail.com
Sun Aug 6 12:22:06 UTC 2017
* pathtrace.c (pathtrace_match_set): Fix symlink decoding, disable pathtracing
for inotify_init.
---
pathtrace.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pathtrace.c b/pathtrace.c
index 26a52fec..f0b85513 100644
--- a/pathtrace.c
+++ b/pathtrace.c
@@ -200,6 +200,7 @@ pathtrace_match_set(struct tcb *tcp, struct path_set *set)
upathmatch(tcp, tcp->u_arg[1], set);
case SEN_quotactl:
+ case SEN_symlink:
/* x, path */
return upathmatch(tcp, tcp->u_arg[1], set);
@@ -341,6 +342,7 @@ pathtrace_match_set(struct tcb *tcp, struct path_set *set)
case SEN_eventfd2:
case SEN_eventfd:
case SEN_fanotify_init:
+ case SEN_inotify_init:
case SEN_inotify_init1:
case SEN_memfd_create:
case SEN_perf_event_open:
--
2.11.0
More information about the Strace-devel
mailing list