summaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2012-03-23 11:01:10 -0400
committerPaul Moore <pmoore@redhat.com>2012-03-23 17:51:25 -0400
commitebb5f0c14a9bc20d8a4589dc5d27aae66e218733 (patch)
tree8002230ae28949b9e9d5e4d9dc0287a2ad814a27 /src/db.h
parentbc49c5674eb9d02ced659e20db258c8822312bc9 (diff)
downloadlibseccomp-ebb5f0c14a9bc20d8a4589dc5d27aae66e218733.tar.gz
db: add support for "phantom" syscall entries
Phantom syscall entries are syscall entry placeholders that are intended simply to carry the syscall priority value and are not included in the seccomp filter until that are explicitly added via a filter rule. Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
index fdbac6c..c7c14ad 100644
--- a/src/db.h
+++ b/src/db.h
@@ -94,6 +94,7 @@ struct db_arg_chain_tree {
struct db_sys_list {
/* native syscall number */
unsigned int num;
+ unsigned int valid;
/* priority - higher is better */
unsigned int priority;