Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Дата
Msg-id 20420.997823240@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
>> BTW, current sources already contain support for using
>> getsockopt(SO_PEERCRED) where available --- AFAIK that's only Linux,
>> but perhaps that's all you need.

> Is this feature any different from the fake local ident we've put it?

Yes.  Wollman's code uses an SCM_CREDS message, which means (a) it will
work on Solaris and one or two other Unixen, not only Linux; but (b)
it requires client-side code additions, not only server-side code.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Makefile.PL for Pg.so