On Sat, Aug 05, 2017 at 12:27:52PM +0700, Nikolay Marchuk wrote: > * 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);
Note that symlink(2) is not that similar to link(2) because the first argument of symlink syscall is an arbitrary string. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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