Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs
Дата
Msg-id 14557.1263443727@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> I think access's reputation as something to avoid caused us not to look
> at it.  My old BSD manual says about access():

> CAVEAT
>      The access() function should be used rarely, if ever.  Specifically,
>      access() should never be used by any program whose user real and effec-
>      tive IDs, or group real and effective IDs, differ.

But we force those to be the same in main.c.  Anyway there are several
other uses of access() in the code ...

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #5275: validate_exec in port/exec.c only reads u/g/o, not ACLs