]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
seccomp: update comment for function `parse_config`
author0x0916 <w@laoqinren.net>
Mon, 15 May 2017 10:04:27 +0000 (18:04 +0800)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 15 Aug 2017 21:23:23 +0000 (17:23 -0400)
Signed-off-by: 0x0916 <w@laoqinren.net>
src/lxc/seccomp.c

index 7ab3e35b071982ee96341f3bdd39b715b15024c6..007abc9df4ab0fc2317ff4495f7a211202690201 100644 (file)
@@ -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)
 {