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: Joshua Brindle <jbrindle_at_nospam>
Date: Tue Jan 26 2010 - 14:49:58 GMT
To: "Stephen Smalley" <sds@tycho.nsa.gov>, "Guido Trentalancia" <guido@trentalancia.com>


On 2010-01-25 Stephen Smalley wrote:
> 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()?
>

I don't see a reason to retain it, especially if it is buggy. -- 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.