* 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 26a52fe..b68d2f7 100644
--- a/pathtrace.c
+++ b/pathtrace.c
@@ -195,6 +195,7 @@ pathtrace_match_set(struct tcb *tcp, struct path_set *set)
case SEN_link:
case SEN_mount:
case SEN_pivotroot:
+ case SEN_symlink:
/* path, path */
return upathmatch(tcp, tcp->u_arg[0], set) ||
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.1.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel