From e9a61799b6a3fc1c804e5515db4a573c9108daeb Mon Sep 17 00:00:00 2001 From: 0x0916 Date: Mon, 15 May 2017 18:04:27 +0800 Subject: [PATCH] seccomp: update comment for function `parse_config` Signed-off-by: 0x0916 --- src/lxc/seccomp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.47.2