Skip to content
Snippets Groups Projects
Commit e0948398 authored by Glauber Costa's avatar Glauber Costa
Browse files

stub mlock and mlockall

No plans in sight to page out anonymous memory, so for now, stub this.
We may have to revisit this once we support proper mmap semantics, specially
with ranged mlock/munlock
parent d9aa9d63
No related branches found
No related tags found
No related merge requests found
...@@ -169,6 +169,16 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, ...@@ -169,6 +169,16 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
return 0; return 0;
} }
int mlockall(int flags)
{
return 0;
}
int munlockall(void)
{
return 0;
}
int getpid() int getpid()
{ {
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment