repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
guard against compilers failing to handle setjmp specially by default
[musl.git]
/
src
/
linux
/
chroot.c
blob
0e69f145dee37cbdc865f6cf6e222a1658d58cdc
1
#define _GNU_SOURCE
2
#include <unistd.h>
3
#include
"syscall.h"
4
5
int
chroot
(
const char
*
path
)
6
{
7
return
syscall
(
SYS_chroot
,
path
);
8
}