[PATCH 1/2] pathtrace: fix matching of execveat syscall.
Nikolay Marchuk
marchuk.nikolay.a at gmail.com
Fri Aug 11 05:43:57 UTC 2017
* pathtrace.c (pathtrace_match_set): Add testing of SEN_execveat.
---
pathtrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/pathtrace.c b/pathtrace.c
index e6e122ac..4376b6c9 100644
--- a/pathtrace.c
+++ b/pathtrace.c
@@ -173,6 +173,7 @@ pathtrace_match_set(struct tcb *tcp, struct path_set *set)
return fdmatch(tcp, tcp->u_arg[0], set) ||
fdmatch(tcp, tcp->u_arg[1], set);
+ case SEN_execveat:
case SEN_faccessat:
case SEN_fchmodat:
case SEN_fchownat:
--
2.11.0
More information about the Strace-devel
mailing list