aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo.h
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-26 15:06:43 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-26 15:06:43 -0500
commit8231f7c636183ec0beda5beae8a342bb89b3c774 (patch)
treeb93659df7a0fd5cb51f256cbfe1376109c5a0959 /pseudo.h
parent80259da816b82c5bdfbf9515935823a157f5d0e9 (diff)
downloadpseudo-8231f7c636183ec0beda5beae8a342bb89b3c774.tar.gz
pseudo-8231f7c636183ec0beda5beae8a342bb89b3c774.tar.bz2
pseudo-8231f7c636183ec0beda5beae8a342bb89b3c774.zip
Add support for intercepting execve()
This allows us to track execution, although the tracking for it requires some additional thought -- the basic assumption is that we don't want to canonicalize names into the chroot() directory, but since all the filename canonicalization assumes that we want this, that will take some sneaking. It's a little useful as is, though, so I'm running with it.
Diffstat (limited to 'pseudo.h')
-rw-r--r--pseudo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pseudo.h b/pseudo.h
index aec6f60..93f3e89 100644
--- a/pseudo.h
+++ b/pseudo.h
@@ -40,7 +40,11 @@ typedef enum {
OP_RENAME,
OP_STAT,
OP_UNLINK,
+ /* added after the original release, so they have to go out of order
+ * to avoid breaking the operation numbers in old logs.
+ */
OP_SYMLINK,
+ OP_EXEC,
OP_MAX
} op_id_t;
extern char *pseudo_op_name(op_id_t id);