]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/af_unix.c
seccomp: cleanup
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 29 Apr 2019 08:16:01 +0000 (10:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 29 Apr 2019 13:17:31 +0000 (15:17 +0200)
commitc3e3c21a10fcef31f484f7afb7807824eb4dccab
tree68641553bafbcf097f72ce87a7f3929916057b30
parent41cd8a8d8c3e5fd357a4b2fcdceb7b97d70586a4
seccomp: cleanup

Simplify and cleanup some of the seccomp code. This mainly focuses on removing
the open coding of various seccomp settings all over the code place in favor of
centralized helpers.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
14 files changed:
src/lxc/af_unix.c
src/lxc/attach.c
src/lxc/commands.c
src/lxc/conf.c
src/lxc/conf.h
src/lxc/confile.c
src/lxc/lxccontainer.c
src/lxc/lxccontainer.h
src/lxc/lxcseccomp.h
src/lxc/memory_utils.h
src/lxc/seccomp.c
src/lxc/start.c
src/tests/Makefile.am
src/tests/parse_config_file.c