summaryrefslogtreecommitdiff
path: root/src/arch-s390x.c
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2016-01-02 15:25:57 -0500
committerPaul Moore <paul@paul-moore.com>2016-02-09 08:32:15 -0500
commit996e445a74823c735757413fda809e1ed0afc7d4 (patch)
treee53d3c9f2f35dbe77ee598ce35c4e668e0a88370 /src/arch-s390x.c
parent57df79c166b26d5044e7e27099e6e69671e727dd (diff)
downloadlibseccomp-996e445a74823c735757413fda809e1ed0afc7d4.tar.gz
arch: move the low level filter rule addition code into the arch layer
The arch specific filter rewrite code is going to need to become more complex so move the low level rule addition code directly into the arch layer instead of the db layer, but still keep the tree manipulation code in the db layer. This patch also creates a new arch specific rule_add() function table entry and allows for this function to create multiple rules from a single rule. Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-s390x.c')
-rw-r--r--src/arch-s390x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch-s390x.c b/src/arch-s390x.c
index 0a1fdc8..038622a 100644
--- a/src/arch-s390x.c
+++ b/src/arch-s390x.c
@@ -19,4 +19,5 @@ const struct arch_def arch_def_s390x = {
.syscall_resolve_num = s390x_syscall_resolve_num,
.syscall_rewrite = NULL,
.filter_rewrite = NULL,
+ .rule_add = NULL,
};