[Apparmor-dev] [PATCH] fix bugs in hat parsing and local profile saving from yast

Dominic Reynolds dreynolds at suse.de
Sun Jul 29 20:41:27 MDT 2007


Two patches attached:

disable-changehat-hatconvert.diff
  - don't mark profiles where hats are read in under a legacy format as
    changed. Two reasons: 
      - marking as changed during the parse_profile_data routine is incorrect
        as we don't know at this point if the profile will be used (may be
        parsed from extras)
      - the current implementation of change_hat support in the tools is not
        in accordance with plans for the feature (currently it supports hats
        outside of profile scope and demarked by PROFILE_NAME//HATNAME. This
        is a defect and will be changed - although works with the latest
        for-mainline kernel)

fix_local_save.diff
  - Fixed bug in yast backend handling that meant that local profiles
    changes were not properly saved.


As we are approaching (today) a checkin deadline for 10.3 alpha 7 I'm going
to checkin these patches - but feedback and/or discussion about the changehat
issue is welcome. There will be ongoing work there.

-dom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-changehat-hatconvert.diff
Type: text/x-patch
Size: 790 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070729/23d65221/disable-changehat-hatconvert.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_local_save.diff
Type: text/x-patch
Size: 755 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070729/23d65221/fix_local_save.bin


More information about the Apparmor-dev mailing list