From: Nikolay Marchuk Date: Sun, 6 Aug 2017 12:22:06 +0000 (+0700) Subject: pathtrace: fix missing syscalls X-Git-Tag: v4.19~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f027d33049d9585a8b7aaf985637c63be3b2d352;p=strace pathtrace: fix missing syscalls * pathtrace.c (pathtrace_match_set): Fix symlink decoding, disable pathtracing for inotify_init. --- 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: