On 2015-06-04 11:21:31, John Johansen wrote:
> On 06/04/2015 06:56 AM, Tyler Hicks wrote:
> > On 2015-06-04 03:56:30, John Johansen wrote:
> >> The parser currently is still using the old permission layout, the kernel
> >> uses a newer layout that allows for more permission bits. The newer
> >> newer permission layout is needed by the library to query the kernel,
> >> however that causes some of the permission bits to be redefined.
> >>
> >> Rename the permission bits that cause redefination warnings to use
> >> AA_OLD_MAY_XXX
> >>
> >> Signed-off-by: John Johansen <[email protected]>
> > 
> > Out of curiosity, how can the parser and kernel be out of sync and
> > things still work as expected? The kernel is doing some sort of
> > conversion on the rules loaded by the parser?
> > 
> 
> yes the kernel is mapping the old perms format to the new. My plans for
> the parser is to rework all the permission code so that there is a
> remap method that can provide the correct layout for a given abi.
> 
> This unfortunately requires work in every stage of the parser, (front,
> middle, and back) and I just haven't had the time to do it.

No worries. It is obviously working as-is so I'm sure we all have bigger
fish to fry. :)

Tyler

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to