selinux January 2010 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: bzip support in libsemanage and out of memory (user

Re: bzip support in libsemanage and out of memory (userspace ticket 7)

From: Stephen Smalley <sds_at_nospam>
Date: Mon Jan 25 2010 - 19:44:20 GMT
To: Guido Trentalancia <guido@trentalancia.com>


On Mon, 2010-01-25 at 20:30 +0100, Guido Trentalancia wrote:
> Stephen,
>
> I have tested the patch that you created for libsemanage and it now works fine even without disabling bzip with bzip-blocksize=0 in semanage.conf (as it should normally be).
>
> Excellent !
>
> Perhaps, the patch should be committed. I think this is the best solution, as it is independent on whether fmemopen_seek() in glibc has been fixed or not.

That seems reasonable to me, particularly given that we already have support in libsepol for operating on memory regions and the patch is pretty trivial. Anyone see a reason to retain use of fmemopen()? -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.