2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

fix: network detection

The features file patch broke detection of network support.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
John Johansen
2014-04-23 10:55:46 -07:00
parent 0d42a832c1
commit 873ae31d29
2 changed files with 2 additions and 2 deletions

View File

@@ -814,11 +814,11 @@ static void set_features_by_match_file(void)
if (strstr(match_string, " perms=c"))
perms_create = 1;
free(match_string);
kernel_supports_network = 1;
goto out;
}
no_match:
perms_create = 1;
kernel_supports_network = 0;
out:
if (ms)