Allow disabling seccomp or changing the whitelist
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 30 Jul 2018 07:32:19 +0000 (09:32 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 13:25:24 +0000 (15:25 +0200)
commite29966f04cdf549a01f721f93634672055da8af4
tree9352919b3801b1c69f566f697f98d4c500d5192e
parent5f57223913a9657bc1ff14284b01ffcb8dbe0eba
Allow disabling seccomp or changing the whitelist

Without this change, once a service is started with seccomp, it is
impossible to restart it without seccomp or change the whitelist file
name. This commit fixes that. Disabling seccomp is as easy as
commenting out the "procd_set_param seccomp" line in init.d script.

Signed-off-by: Michal Sojka <michal.sojka@cvut.cz>
service/instance.c