subproc: recognize CLONE_PIDFD

This commit is contained in:
Robert Swiecki 2019-12-10 11:09:14 +01:00
parent 8407e0be46
commit 04e5fae0e3

View File

@ -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),