Fix pathtrace match for pipe2 syscall
* pathtrace.c (pathtrace_match): As pipe2 syscall has no descriptors or paths to test, move SEN_pipe2 to the appropriate category.
This commit is contained in:
parent
3a630751eb
commit
f9f04f74fc
@ -181,7 +181,6 @@ pathtrace_match(struct tcb *tcp)
|
||||
case SEN_name_to_handle_at:
|
||||
case SEN_newfstatat:
|
||||
case SEN_openat:
|
||||
case SEN_pipe2:
|
||||
case SEN_readlinkat:
|
||||
case SEN_unlinkat:
|
||||
case SEN_utimensat:
|
||||
@ -327,6 +326,7 @@ pathtrace_match(struct tcb *tcp)
|
||||
case SEN_memfd_create:
|
||||
case SEN_perf_event_open:
|
||||
case SEN_pipe:
|
||||
case SEN_pipe2:
|
||||
case SEN_printargs:
|
||||
case SEN_socket:
|
||||
case SEN_socketpair:
|
||||
|
Loading…
x
Reference in New Issue
Block a user