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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user