repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
secondary cache feature in vm.
[minix.git]
/
lib
/
libc
/
posix
/
_chroot.c
blob
ca186966ae9a59f63c8e5614aa4299afbfc19b4b
1
#include <lib.h>
2
#define chroot _chroot
3
#include <unistd.h>
4
5
PUBLIC
int
chroot
(
name
)
6
_CONST
char
*
name
;
7
{
8
message m
;
9
10
_loadname
(
name
, &
m
);
11
return
(
_syscall
(
FS
,
CHROOT
, &
m
));
12
}