[apparmor] [patch] AppArmor.pm: Split long sting (apparmor-utils-string-split)
Steve Beattie
steve at nxnw.org
Tue Aug 16 22:03:18 UTC 2011
On Tue, Aug 09, 2011 at 12:34:48AM +0200, Christian Boltz wrote:
> From: Jeff Mahoney <jeffm at suse.com>
> Subject: SubDomain.pm: Split long string
>
> The string split here ends up not displaying well in yast.
>
>
> note by Christian Boltz <apparmor at cboltz.de>:
> Subject: should be "AppArmor.pm: Split long sting" ;-)
I'm okay with this change, but the translations will need to be fixed up
as well.
> From: Jeff Mahoney <jeffm at suse.com>
> Subject: SubDomain.pm: Split long string
>
> The string split here ends up not displaying well in yast.
>
>
> note by Christian Boltz <apparmor at cboltz.de>:
> Subject: should be "AppArmor.pm: Split long sting" ;-)
>
> ---
> utils/Immunix/AppArmor.pm | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> --- a/utils/Immunix/AppArmor.pm
> +++ b/utils/Immunix/AppArmor.pm
> @@ -6300,7 +6300,12 @@ sub check_qualifiers($) {
>
> if ($cfg->{qualifiers}{$program}) {
> unless($cfg->{qualifiers}{$program} =~ /p/) {
> - fatal_error(sprintf(gettext("\%s is currently marked as a program that should not have it's own profile. Usually, programs are marked this way if creating a profile for them is likely to break the rest of the system. If you know what you're doing and are certain you want to create a profile for this program, edit the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $program));
> + fatal_error(sprintf(gettext(
> +"\%s is currently marked as a program that should not have its own\n".
> +"profile. Usually, programs are marked this way if creating a profile for \n".
> +"them is likely to break the rest of the system. If you know what you're\n".
> +"doing and are certain you want to create a profile for this program, edit\n".
> +"the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $program));
> }
> }
> }
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110816/e0eb46f0/attachment-0001.pgp>
More information about the AppArmor
mailing list