Commit 998cd2f4 by 0x0916

seccomp: update comment for function `parse_config`

Signed-off-by: 's avatar0x0916 <w@laoqinren.net>
parent 65afdf08
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment