aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_db.c
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-24 19:31:58 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-25 16:43:13 -0500
commit2c389272304f2710b317f185c6fb057458bc9027 (patch)
treeee35ad5102fc6a17f284c693c19a3a028a3114ea /pseudo_db.c
parent4b555b46b36ccd50a1130238e02a2e2d41b50366 (diff)
downloadpseudo-2c389272304f2710b317f185c6fb057458bc9027.tar.gz
pseudo-2c389272304f2710b317f185c6fb057458bc9027.tar.bz2
pseudo-2c389272304f2710b317f185c6fb057458bc9027.zip
initial chroot() support
Add chroot() and a large number of things needed to make it work. The list of intercepted calls is large but not exhaustive.
Diffstat (limited to 'pseudo_db.c')
-rw-r--r--pseudo_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pseudo_db.c b/pseudo_db.c
index 665f823..ebbeb69 100644
--- a/pseudo_db.c
+++ b/pseudo_db.c
@@ -59,6 +59,7 @@ id_row op_rows[] = {
OP_ROW(OP_CHDIR, "chdir"),
OP_ROW(OP_CHMOD, "chmod"),
OP_ROW(OP_CHOWN, "chown"),
+ OP_ROW(OP_CHROOT, "chroot"),
OP_ROW(OP_CLOSE, "close"),
OP_ROW(OP_CREAT, "creat"),
OP_ROW(OP_DUP, "dup"),