On Fri, Aug 29, 2014 at 12:40:37PM -0700, John Johansen wrote: > This changes/fixes the encoding for unix socket rules. > > the changes look larger than they are because it refactors the code, instead > of duplicating. > > The major changes are: > - it changes where the accept perm is stored > - it moves anyone_match_pattern to default_match_pattern > - it fixes the layout of the local addr only being written when local perms > are present > > --- > > === modified file 'parser/af_unix.cc' > --- parser/af_unix.cc 2014-08-27 21:38:24 +0000 > +++ parser/af_unix.cc 2014-08-29 19:33:32 +0000 > @@ -226,13 +226,99 @@ > ((mask & (AA_NET_SETOPT | AA_NET_GETOPT)) >> 5); /* 5 + > (AA_OTHER_SHIFT - 24) */ > } > > +void unix_rule::write_to_prot(std::ostringstream &buffer)
I would probably name this method write_protocol (or write_proto), but otherwise: Acked-by: Steve Beattie <[email protected]>. Thanks. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
