| От | Tom Lane |
|---|---|
| Тема | Re: Add another AUTHTYPE for UNIX-domain connections |
| Дата | |
| Msg-id | 5686.1007342748@sss.pgh.pa.us обсуждение |
| Ответ на | Add another AUTHTYPE for UNIX-domain connections (Anton Berezin <tobez@tobez.org>) |
| Ответы |
Re: Add another AUTHTYPE for UNIX-domain connections
Re: Add another AUTHTYPE for UNIX-domain connections |
| Список | pgsql-patches |
Anton Berezin <tobez@tobez.org> writes:
> On some platforms, it is possible to reliably determine the effective
> credentials of a UNIX-domain peer.
Umm ... I think this is in 7.2 already, although not using getpeereid.
Anyone have an idea whether there are platforms that have getpeereid but
not SO_PEERCRED or SCM_CREDS? If so it might be worth adding getpeereid
as an alternate implementation in ident_unix().
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера