1 Nov 2007 17:51
Re: [PATCH] libselinux: refactor AVC netlink code
On Wed, 2007-10-24 at 14:31 -0400, Eamon Walsh wrote: > This patch removes duplication in the AVC netlink code > by introducing helper functions. > > Did some basic testing and confirmed that messages are > received and processed. > > More patches to follow. > > Signed-off-by: Eamon Walsh <ewalsh@...> Merged. However, it occurs to me that this code may yield unaligned accesses (before and after this patch), just like the libsepol policy reading code until recently. > --- > > avc_internal.c | 289 +++++++++++++++++++++------------------------------------ > 1 file changed, 107 insertions(+), 182 deletions(-) > > > Index: libselinux/src/avc_internal.c > =================================================================== > --- libselinux/src/avc_internal.c (revision 2662) > +++ libselinux/src/avc_internal.c (working copy) > <at> <at> -89,221 +89,146 <at> <at> > close(fd); > }(Continue reading)
-jf
RSS Feed