projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
src
/
mman
/
mprotect.c
1
#include <sys/mman.h>
2
#include "syscall.h"
3
4
int mprotect(void *addr, size_t len, int prot)
5
{
6
return syscall3(__NR_mprotect, (long)addr, len, prot);
7
}