[Apparmor-dev] [rfr] fixes for mandatoray profile HINT bug and empty config bug

Dominic Reynolds dreynolds at suse.de
Thu Aug 16 07:47:34 MDT 2007


Attach patch addresses two problems:

Mandatory Profile Missing - this case emits two messages the second of which
is an exec hint that I was adding to the log tree uneccessarily - and 
it should be ignored (and causes a bug) as the mandatory profile HINT
provides the needed information to create the new profile.


Empty config options - calls to find_first_(dir|file) are passed config
options as arguments. If these are null then an unintiialized value error
occurs. This patch adds a check for null arguments and just returns if they
are passed.


-dom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mandatory_and_config_bugs.diff
Type: text/x-patch
Size: 1417 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070816/7e221ddd/mandatory_and_config_bugs.bin


More information about the Apparmor-dev mailing list