To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit f09efafb authored by qinsoon's avatar qinsoon
Browse files


parent 6a25c229
......@@ -8,6 +8,7 @@ use vm::target::*;
use runtime;
use runtime::ValueLocation;
use runtime::mm;
use vm::target;
use utils::ByteSize;
use utils::Address;
......@@ -56,7 +57,7 @@ pub struct MuStack {
impl MuStack {
pub fn new(id: MuID, func_addr: ValueLocation, func: &MuFunction) -> MuStack {
let page_size = runtime::page_size();
let page_size = target::page_size();
let total_size = page_size * 2 + STACK_SIZE;
let anon_mmap = match memmap::Mmap::anonymous(total_size, memmap::Protection::ReadWrite) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment