summaryrefslogtreecommitdiff
path: root/sys/include/ape
diff options
context:
space:
mode:
authorspew <devnull@localhost>2018-06-20 22:19:37 -0400
committerspew <devnull@localhost>2018-06-20 22:19:37 -0400
commit3b376b43af24f8013d330eb2eb9c3b78849bb7c3 (patch)
tree27c03c0459a26d942d97f11142569d7ea4f4a88d /sys/include/ape
parent8dd003eb04aacf13c4a3a3123269a980c03504f9 (diff)
ape: provide bogus chroot implementation
Diffstat (limited to 'sys/include/ape')
-rw-r--r--sys/include/ape/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/ape/unistd.h b/sys/include/ape/unistd.h
index ae78fec36..936fbe8cb 100644
--- a/sys/include/ape/unistd.h
+++ b/sys/include/ape/unistd.h
@@ -121,6 +121,7 @@ extern pid_t setsid(void);
/* files and directories */
extern int chdir(const char *);
+extern int chroot(const char *);
extern int link(const char *, const char *);
extern char *getcwd(char *, size_t);
extern int unlink(const char *);