[apparmor] Comments within a Variable Assignment lines

Seth Arnold seth.arnold at canonical.com
Sat Jan 6 00:56:37 UTC 2018


On Fri, Jan 05, 2018 at 08:32:02PM -0300, Nibaldo González wrote:
> Hello. I developed syntax highlighting for AppArmor profiles, in KDE's text
> editors (KSyntaxHighlighting Framework). I have been updating the
> highlighting and I have some questions about the comments in AppArmor.

That's cool, thanks!

> Checking the AppArmor parser and doing some tests, I have drawn some
> conclusions:
> [...]
> In this case, AppArmor grants write and read permissions to files with
> extension: '.#.txt', '.#All', '.the', '.format', '.#.xml', '.and',
> etc. Clearly, the profile must be fixed.

Wow. Thanks.

https://bugs.launchpad.net/ubuntu/+source/libreoffice-l10n/+bug/1741581

> Finally, is this a bug? Should AppArmor consider comments on the variable
> assignment?

This does feel like something we should address in the parser.

https://bugs.launchpad.net/apparmor/+bug/1741584

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20180105/5ecb655c/attachment.sig>


More information about the AppArmor mailing list