Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python][test] change traced syscall from clone to execve
Fixes iovisor#4203 The issue goes into more details as to why this change is needed. The TL;DR is that the implementation of `os.popen` change somewhere between python 3.9 and 3.10 and depending on which version of python is used, either `fork/clone` is called, or `vfork`. In both cases, we are going to end up calling `execve`. This change switches the syscall traced from `clone` to `execve`. At the same time, it is now a constant that can be used across the tests. Test plan: Before https://gist.github.com/chantra/d37f3daa969bdbc07862dc11f8384a38 After https://gist.github.com/chantra/2860e9812f00eaa0758ccdb5d3192689
- Loading branch information