aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_db.h
diff options
context:
space:
mode:
authorPeter Seebach <seebs@eee12.(none)>2010-03-26 14:48:36 -0500
committerPeter Seebach <seebs@eee12.(none)>2010-03-26 14:50:04 -0500
commit80259da816b82c5bdfbf9515935823a157f5d0e9 (patch)
treef5120633e788d0d36ea2133d436d52c563d08d98 /pseudo_db.h
parentcaeebc0dd6ff538629687b55a5ce72554a7c3f34 (diff)
downloadpseudo-80259da816b82c5bdfbf9515935823a157f5d0e9.tar.gz
pseudo-80259da816b82c5bdfbf9515935823a157f5d0e9.tar.bz2
pseudo-80259da816b82c5bdfbf9515935823a157f5d0e9.zip
Track file open flags
This patch adds support for checking whether a file was opened for reading, writing, or both, as well as tracking append flags. It is not very well tested. This is preparation for improved host contamination checking.
Diffstat (limited to 'pseudo_db.h')
-rw-r--r--pseudo_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pseudo_db.h b/pseudo_db.h
index 2085335..9b82c53 100644
--- a/pseudo_db.h
+++ b/pseudo_db.h
@@ -20,6 +20,7 @@
typedef struct {
time_t stamp;
op_id_t op;
+ int access;
unsigned long client;
unsigned long fd;
unsigned long long dev;