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

Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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 22:18:18
Message-ID: 200108142218.f7EMIIH25491@candle.pha.pa.us (view raw or flat)
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.

BSD/OS supports it, and I assume FreeBSD too.
\
-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Larry RosenmanDate: 2001-08-14 22:38:36
Subject: Re: [PATCHES] Makefile.PL for Pg.so
Previous:From: Peter EisentrautDate: 2001-08-14 22:02:24
Subject: Re: [PATCHES] Makefile.PL for Pg.so

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