subproc: recognize CLONE_PIDFD
This commit is contained in:
parent
8407e0be46
commit
04e5fae0e3
@ -71,6 +71,10 @@ static const std::string cloneFlagsToStr(uintptr_t flags) {
|
|||||||
NS_VALSTR_STRUCT(CLONE_FS),
|
NS_VALSTR_STRUCT(CLONE_FS),
|
||||||
NS_VALSTR_STRUCT(CLONE_FILES),
|
NS_VALSTR_STRUCT(CLONE_FILES),
|
||||||
NS_VALSTR_STRUCT(CLONE_SIGHAND),
|
NS_VALSTR_STRUCT(CLONE_SIGHAND),
|
||||||
|
#if !defined(CLONE_PIDFD)
|
||||||
|
#define CLONE_PIDFD 0x00001000
|
||||||
|
#endif
|
||||||
|
NS_VALSTR_STRUCT(CLONE_PIDFD),
|
||||||
NS_VALSTR_STRUCT(CLONE_PTRACE),
|
NS_VALSTR_STRUCT(CLONE_PTRACE),
|
||||||
NS_VALSTR_STRUCT(CLONE_VFORK),
|
NS_VALSTR_STRUCT(CLONE_VFORK),
|
||||||
NS_VALSTR_STRUCT(CLONE_PARENT),
|
NS_VALSTR_STRUCT(CLONE_PARENT),
|
||||||
|
Loading…
Reference in New Issue
Block a user