projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add setxid.c for new set*id() framework. missed in last commit.
[oweals/musl.git]
/
src
/
linux
/
chroot.c
diff --git
a/src/linux/chroot.c
b/src/linux/chroot.c
index b5af62dcf3b8fe7241baae47c83ea28f5ce43efb..82b4fe75c6bd183aec7b95caa3ff00826f35ecf2 100644
(file)
--- a/
src/linux/chroot.c
+++ b/
src/linux/chroot.c
@@
-1,8
+1,7
@@
#include <unistd.h>
-#define SYSCALL_STANDALONE
#include "syscall.h"
int chroot(const char *path)
{
- return syscall
1(__NR_chroot, (long)
path);
+ return syscall
(SYS_chroot,
path);
}