[apparmor] [patch] Fix an exception message in SignalRule

Seth Arnold seth.arnold at canonical.com
Mon Nov 23 22:23:44 UTC 2015


On Mon, Nov 23, 2015 at 10:24:11PM +0100, Christian Boltz wrote:
> Hello,
> 
> $subject.
> 
> If I get a quick review, I'll commit this with
> 07-add-SignalRule-and-SignalRuleset.diff ;-)

Acked-by: Seth Arnold <seth.arnold at canonical.com>

Acked for wherever the previous code existed. Thanks

> 
> [ 24-signal-rule-fix-error-message.diff ]
> 
> --- utils/apparmor/rule/signal.py       2015-11-23 21:48:26.781666604 +0100
> +++ utils/apparmor/rule/signal.py       2015-11-23 22:13:23.548270337 +0100
> @@ -184,7 +184,7 @@
>          elif self.peer:
>              peer = ' peer=%s' % quote_if_needed(self.peer.regex)
>          else:
> -            raise AppArmorBug('Empty signal in signal rule')
> +            raise AppArmorBug('Empty peer in signal rule')
>  
>          return('%s%ssignal%s%s%s,%s' % (space, self.modifiers_str(), access, signal, peer, self.comment))
>  
> 
> 
> Regards,
> 
> Christian Boltz
> -- 
> Dann siehst du nämlich ganz genau, daß der Cursor blinkt, und er
> hat feuerrote tote Augen, mit denen er dich anstarrt und brüllt:
> "..  UND WENN DU DICH VERTIPPST, DANN FRESSE ICH DICH MITSAMT
> DEINEM MAUSZEIGER!!!!"            [Ratti in suse-programming]
> 
> 
> -- 
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20151123/6790dac0/attachment.pgp>


More information about the AppArmor mailing list