Support specification of stack with clone system call and CLONE_STACK flag
This commit is contained in:
@@ -75,7 +75,9 @@ pub fn resource() -> Result<Vec<u8>> {
|
||||
});
|
||||
}
|
||||
if let Some(ref stack) = context.stack {
|
||||
memory += stack.size();
|
||||
stack.with(|stack| {
|
||||
memory += stack.size();
|
||||
});
|
||||
}
|
||||
if let Some(ref sigstack) = context.sigstack {
|
||||
memory += sigstack.size();
|
||||
|
||||
Reference in New Issue
Block a user