Re: A note about testing EXEC_BACKEND on recent Linuxen

Поиск
Список
Период
Сортировка
От Mitchell Skinner
Тема Re: A note about testing EXEC_BACKEND on recent Linuxen
Дата
Msg-id 1138374021.16221.18.camel@firebolt
обсуждение исходный текст
Ответ на A note about testing EXEC_BACKEND on recent Linuxen  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 2006-01-26 at 18:40 -0500, Tom Lane wrote:
> You can work around this by doing (as root)
>     echo 0 >/proc/sys/kernel/randomize_va_space
> before starting the postmaster.  You'll probably want to set it back to
> 1 when done experimenting with EXEC_BACKEND, since address randomization
> is a useful security hack.

I haven't fiddled with this myself, but according to Arjan van de Ven's
post to fedora-devel on July 30th 2005,
> setarch has an -R option to start the binary without randomisation.

...so that you can turn it off per-execution rather than system-wide.
I'm not sure if children inherit the setting.

Mitch



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

Предыдущее
От: Leandro Guimarães Faria Corcete Dutra
Дата:
Сообщение: Re: Surrogate keys (Was: enums)
Следующее
От: Tony Caduto
Дата:
Сообщение: Question about postgresql-8.1.2-1-binaries-no-installer.zip(win32)