Unable to allocate secure memory from gnome-keyring

Joe Marcus Clarke marcus at freebsd.org
Mon Apr 23 20:59:38 UTC 2012


On 4/23/12 4:08 PM, Alexander Leidinger wrote:
> On Sun, 22 Apr 2012 22:06:41 -0500 Jeremy Messenger
> <mezz.freebsd at gmail.com> wrote:
> 
>> On Sun, Apr 22, 2012 at 9:12 PM, AN <andy at neu.net> wrote:
> 
>>> ** (process:42587): WARNING **: Unable to allocate secure memory
>>> from gnome-keyring.
>>>
>>>
>>> ** (process:42587): WARNING **: Proceeding using insecure memory for
>>> password fields.
>>
>> Both of warnings here are known for age. I don't remember exactly why,
>> I think it's something that FreeBSD lacks of what Linux has or maybe
>> just need to complete port to FreeBSD. I am not sure.
> 
> I would expect that this is caused by a failed call to mlock(). Only
> root is allowed to do that. I would also expect that this message
> disappears, if the executables is marked as SUID-root. If it makes
> sense to mark it SUID-root from a security point of view in this case or
> not is a different question.

The memory locking message is expected for this very reason.  You can't
suid gnome-keyring-daemon since that will break due to GNOME.  The error
is not fatal, though.

Joe

> 
> Bye,
> Alexander.
> 


-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the freebsd-gnome mailing list