[Apparmor-dev] [rfr] complain, enforce improvements: support profiles even if binary is not installed

Steve Beattie sbeattie at suse.de
Fri Jun 15 10:21:22 MDT 2007


On Tue, Jun 05, 2007 at 04:19:13PM -0400, Mathias Gug wrote:
> I've attached a diff that scans apparmor.d directory to find profiles
> that matches the profile passed on the command line. Currently if the
> binary doesn't exist on the system, complain/enforce fails even if a
> profile is defined.

Fix looks fine to me, I went ahead and committed it to the svn tree,
after modifying the audit command in the same way.

A nice cleanup would be to push all this common code in to SubDomain.pm.

Thanks Mathias.

-- 
Steve Beattie
SUSE Labs, Novell Inc. 
<sbeattie at suse.de>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070615/6e18c9f8/attachment.pgp


More information about the Apparmor-dev mailing list