Skip site navigation (1) Skip section navigation (2)

Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: wollman(at)LCS(dot)MIT(dot)EDU, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Date: 2001-08-14 21:07:20
Message-ID: 20420.997823240@sss.pgh.pa.us (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-patches
Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

pgsql-patches by date

Next:From: Peter EisentrautDate: 2001-08-14 21:21:28
Subject: Re: [PATCHES] Re: PostGIS spatial extensions
Previous:From: Peter EisentrautDate: 2001-08-14 20:54:03
Subject: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group