Re: Re: improving security of AF_UNIX sockets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: improving security of AF_UNIX sockets
Дата
Msg-id 12628.987218220@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: improving security of AF_UNIX sockets  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-ports
Peter Eisentraut <peter_e@gmx.net> writes:
> If there's no 'w' then connect() will fail with ECONNREFUSED on Linux 2.2.
> [ and several other systems document EACCES as the error code ]

FWIW: HPUX 10.20 doesn't document this error condition at all on the
connect(2) man page, but some quick experimentation shows that indeed
write access to the socket is necessary and sufficient to make a
connection.  (And EACCES is what you get if you ain't got it.)

            regards, tom lane

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

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: FW: [GENERAL] Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?
Следующее
От: "Matthieu Guyonnet-Duluc"
Дата:
Сообщение: running