From: | "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SHM_LOCK under Linux ... do we use this? |
Date: | 2005-08-18 01:43:52 |
Message-ID: | 20050817224258.H1002@ganymede.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 17 Aug 2005, Tom Lane wrote:
> "Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
>> A privileged user can prevent or allow swapping of a shared memory
>> segment with the following cmds:
>> SHM_LOCK prevents swapping of a shared memory segment. The user
>> must fault in any pages that are required to be present
>> after ...
>
>> I've done a grep through the code, to see if its something that we do use, and
>> it doesn't seem to come back with anything ...
>
> No, we don't. "privileged user" means root, so it's not possible for us
> to set that.
Ya, that's what I was figuring, but figured someone with more Linux
knowledge might know a 'loophole' we could exploit :)
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664
From | Date | Subject | |
---|---|---|---|
Next Message | Premsun Choltanwanich | 2005-08-18 02:56:26 | How to secure PostgreSQL Data for distribute? |
Previous Message | Andrew Dunstan | 2005-08-18 00:57:38 | still looking for getaddrinfo |