]> git.proxmox.com Git - mirror_libseccomp.git/commit
db: include the arguments in the db_api_rule_list struct
authorPaul Moore <paul@paul-moore.com>
Fri, 17 Feb 2017 17:15:20 +0000 (12:15 -0500)
committerPaul Moore <paul@paul-moore.com>
Fri, 17 Feb 2017 19:18:43 +0000 (14:18 -0500)
commite3addce3794ddb6dc174d429da055296282df0e6
treeec9e3b37017df9bc6832a9a6f503d77bdc86e2e7
parent390b4b2f37b8790c3ba762578d5b610304fdb64d
db: include the arguments in the db_api_rule_list struct

Instead of dynamically allocating a variable number of arguments,
include an array of ARG_COUNT_MAX elements directly in the struct.
Also perform a number of simplifications to the code with the
understanding that ARG_COUNT_MAX is an ABI independent value that
isn't variable.

Signed-off-by: Paul Moore <paul@paul-moore.com>
src/arch-s390.c
src/arch-s390x.c
src/arch-x86.c
src/arch.c
src/arch.h
src/db.c
src/db.h