2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Add support for network toggles, append, and locking to the YaST2

EditProfile wizard.
This commit is contained in:
Dominic Reynolds
2007-09-17 01:55:11 +00:00
parent 2640f42273
commit 61d499c108
2 changed files with 428 additions and 104 deletions

View File

@@ -4464,7 +4464,8 @@ sub writenetdomain ($) {
my @data;
# dump out the netdomain entries...
if (exists $profile_data->{netdomain}) {
if ( $profile_data->{netdomain} == 1 ) {
if ( $profile_data->{netdomain} == 1 ||
$profile_data->{netdomain} eq "all") {
push @data, " network,";
} else {
for my $fam (sort keys %{$profile_data->{netdomain}}) {