diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2002-05-19 21:44:03 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2002-05-19 21:44:03 +0000 |
commit | 7a364110ab787a3a7001c41dce6be5ca4f60479a (patch) | |
tree | bc9d1468cc9fb238ef8080b80f73a8eacdef1a37 /sys/dev/systrace.h | |
parent | 640fddb401d38e6086c5787bc8ea3e23615d3397 (diff) |
make fsystrace available in systrace.h; keep some more stats.
Diffstat (limited to 'sys/dev/systrace.h')
-rw-r--r-- | sys/dev/systrace.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h index 732a90d0bfa..c7223b10ddf 100644 --- a/sys/dev/systrace.h +++ b/sys/dev/systrace.h @@ -102,6 +102,29 @@ struct systrace_policy { #define SYSTR_FLAGS_RESULT 0x001 #ifdef _KERNEL +struct str_process; +struct fsystrace { + struct lock lock; + struct selinfo si; + + TAILQ_HEAD(strprocessq, str_process) processes; + int nprocesses; + + TAILQ_HEAD(strpolicyq, str_policy) policies; + + struct strprocessq messages; + + int npolicynr; + int npolicies; + + int issuser; + + /* cwd magic */ + pid_t fd_pid; + struct vnode *fd_cdir; + struct vnode *fd_rdir; +}; + /* Internal prototypes */ int systrace_redirect(int, struct proc *, void *, register_t *); |