Re: semaphore usage "port based"?

Поиск
Список
Период
Сортировка
От Kris Kennaway
Тема Re: semaphore usage "port based"?
Дата
Msg-id 20060403032130.GA58053@xor.obsecurity.org
обсуждение исходный текст
Ответ на Re: semaphore usage "port based"?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Apr 02, 2006 at 11:17:49PM -0400, Tom Lane wrote:
> Kris Kennaway <kris@obsecurity.org> writes:
> > On Sun, Apr 02, 2006 at 11:08:11PM -0400, Tom Lane wrote:
> >> If this is the story, then FBSD have broken their system and must revert
> >> their change.  They do not have kernel behavior that totally hides the
> >> existence of the other process, and therefore having some calls that
> >> pretend it's not there is simply inconsistent.
>
> > I'm guessing it's a deliberate change to prevent the information
> > leakage between jails.
>
> I have no objection to doing that, so long as you are actually doing it
> correctly.  This example shows that each jail must have its own SysV
> semaphore key space, else information leaks anyway.

By default SysV shared memory is disallowed in jails.

Kris

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kris Kennaway
Дата:
Сообщение: Re: semaphore usage "port based"?
Следующее
От: Kris Kennaway
Дата:
Сообщение: Re: semaphore usage "port based"?