From: 0x0916 Date: Mon, 15 May 2017 10:04:27 +0000 (+0800) Subject: seccomp: update comment for function `parse_config` X-Git-Tag: lxc-1.0.11~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9a61799b6a3fc1c804e5515db4a573c9108daeb;p=thirdparty%2Flxc.git seccomp: update comment for function `parse_config` Signed-off-by: 0x0916 --- diff --git a/src/lxc/seccomp.c b/src/lxc/seccomp.c index 7ab3e35b0..007abc9df 100644 --- a/src/lxc/seccomp.c +++ b/src/lxc/seccomp.c @@ -631,9 +631,9 @@ static int parse_config_v2(FILE *f, char *line, struct lxc_conf *conf) * The first line of the config file has a policy language version * the second line has some directives * then comes policy subject to the directives - * right now version must be '1' - * the directives must include 'whitelist' (only type of policy currently - * supported) and can include 'debug' (though debug is not yet supported). + * right now version must be '1' or '2' + * the directives must include 'whitelist'(version == 1 or 2) or 'blacklist' + * (version == 2) and can include 'debug' (though debug is not yet supported). */ static int parse_config(FILE *f, struct lxc_conf *conf) {