[+] StartupParameters::posixApplySandboxCOW
This commit is contained in:
parent
730465ca2b
commit
e05bb8f5dc
@ -95,5 +95,8 @@ namespace Aurora::Processes
|
||||
void *> ntLikeHookCreateProcessW;
|
||||
#endif
|
||||
#endif
|
||||
#if defined(AURORA_IS_POSIX_DERIVED)
|
||||
AuVoidFunc posixApplySandboxCOW;
|
||||
#endif
|
||||
};
|
||||
}
|
@ -646,6 +646,11 @@ namespace Aurora::Processes
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
if (this->startup_.posixApplySandboxCOW)
|
||||
{
|
||||
this->startup_.posixApplySandboxCOW();
|
||||
}
|
||||
|
||||
::execv(this->startup_.process.c_str(), (char * const *)this->cargs_.data()); // https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user