]> 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)
committer0x0916 <w@laoqinren.net>
Mon, 15 May 2017 10:44:00 +0000 (18:44 +0800)
Signed-off-by: 0x0916 <w@laoqinren.net>
src/lxc/seccomp.c

index 9ddae28e9cc307f5ab3afd07f12d7ccafbe02d66..881a498855c6091bb6b9addbe520fd5829019c9f 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)
 {