Skip to content

Commit

Permalink
confile: config_lsm_aa_incomplete()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Jul 1, 2017
1 parent 304d248 commit 61a3dcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lxc/confile.c
Expand Up @@ -1323,6 +1323,9 @@ static int config_lsm_aa_profile(const char *key, const char *value,
static int config_lsm_aa_incomplete(const char *key, const char *value,
struct lxc_conf *lxc_conf)
{
if (config_value_empty(value))
return 0;

if (lxc_safe_uint(value, &lxc_conf->lsm_aa_allow_incomplete) < 0)
return -1;

Expand Down

0 comments on commit 61a3dcd

Please sign in to comment.