apparmor/utils/Immunix
Steve Beattie fc6b59e8b1 Subject: fix aa-logprof rewrite of PUx modes.
When writing out a profile, aa-logprof incorrectly converts PUx execute
permission modes to the syntactically invalid UPx mode, because the
function that converts the internal representation of permissions to
a string emits the U(nconfined) mode bit before the P bit.

This patch corrects this by reordering the way the exec permissions
are emitted, so that P and C modes come before U and i. Based on
http://wiki.apparmor.net/index.php/AppArmor_Core_Policy_Reference#Execute_rules
this should emit the modes correctly in all combined exec modes.
Other approaches to fixing this would require adjusting the data
structure that contains the permission modes, resulting in a more
invasive patch.

Bug: https://launchpad.net/bugs/982619
2012-04-24 11:00:18 -07:00
..
AppArmor.pm Subject: fix aa-logprof rewrite of PUx modes. 2012-04-24 11:00:18 -07:00
Config.pm Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
Reports.pm From: Jeff Mahoney <jeffm@suse.com> 2011-02-08 16:29:59 -08:00
Repository.pm Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00
Severity.pm Here's an update to rename another chunk of things that still used 2011-01-13 13:58:26 -08:00