mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Internal change
PiperOrigin-RevId: 413954176 Change-Id: Ie07c1c8d96019e1605ea3b9ed58030754954ee97
This commit is contained in:
parent
e4ef46631d
commit
e61a84979a
|
@ -178,10 +178,7 @@ pid_t CloneAndJump(int flags, jmp_buf* env_ptr) {
|
|||
"Host CPU architecture not supported, see config.h");
|
||||
// Stack grows down.
|
||||
void* stack = stack_buf + sizeof(stack_buf);
|
||||
int r;
|
||||
{
|
||||
r = clone(&ChildFunc, stack, flags, env_ptr, nullptr, nullptr, nullptr);
|
||||
}
|
||||
int r = clone(&ChildFunc, stack, flags, env_ptr, nullptr, nullptr, nullptr);
|
||||
if (r == -1) {
|
||||
SAPI_RAW_PLOG(ERROR, "clone()");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user