diff options
author | Paul Moore <pmoore@redhat.com> | 2012-03-07 10:36:41 -0500 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-03-09 11:47:35 -0500 |
commit | 3cadb3d52472e05f4489a36a63ce9835e3619b2f (patch) | |
tree | 7c7e5c945b7ec3beb6cd2bd7ce1a901cbcbe8238 /src/gen_bpf.h | |
parent | fc033fb661fc2285b098ad9c444672ad9a62d0bc (diff) | |
download | libseccomp-3cadb3d52472e05f4489a36a63ce9835e3619b2f.tar.gz |
db: add an architecture definition to the db layer
Since we're storing syscall numbers in the filter DB we need to be
able to put them in the proper context.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/gen_bpf.h')
-rw-r--r-- | src/gen_bpf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gen_bpf.h b/src/gen_bpf.h index af183b8..1e00e60 100644 --- a/src/gen_bpf.h +++ b/src/gen_bpf.h @@ -43,8 +43,7 @@ struct bpf_program { #define BPF_PGM_SIZE(x) \ ((x)->blk_cnt * sizeof(*((x)->blks))) -struct bpf_program *gen_bpf_generate(const struct db_filter *db, - const struct arch_def *arch); +struct bpf_program *gen_bpf_generate(const struct db_filter *db); void gen_bpf_destroy(struct bpf_program *program); #endif |