* 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


------------------------------------------------------------------------------
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
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to