Re: [HACKERS] Fix for running from admin account on win32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Fix for running from admin account on win32
Дата
Msg-id 2273.1139609307@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Fix for running from admin account on win32  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> Attached is a patch for initdb only (the other patch stands unchanged).
> It will make initdb re-exec itself with a restricted token when
> available (since we can only control the security of subprocesses)

Applied to HEAD.

> There's a bit of shared code with pg_ctl (but not all of the exec stuff,
> because there is no need for a job object for initdb). I'm unsure if
> it's worth putting something in src/port instead for it, so this version
> doesn't.

I agree that it seems marginal at this point.  But if we find ourselves
adding the functionality anyplace else, you should probably factor out
the common code into a /port module.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix for running from admin account on win32
Следующее
От: Kris Jurka
Дата:
Сообщение: parallel builds with dependencies