[apparmor] [PATCH 1/3] apparmor: Add support for attaching profiles via xattr, presence and value
Seth Arnold
seth.arnold at canonical.com
Fri Feb 9 01:40:46 UTC 2018
On Thu, Feb 08, 2018 at 04:04:37PM -0800, John Johansen wrote:
> > If this step fails before completion, the xattrs array may have some
> > entries that weren't properly initialized; I suspect the free operation
> > will cause serious trouble in this case.
> >
> yep we can switch the kmalloc_array for a kcalloc, and that will fix it
>
Ah I like the sound of that better than zeroing the arrays manually.
With this change,
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20180208/030c540f/attachment.sig>
More information about the AppArmor
mailing list