Re: Unix sockets connection authentication - patch

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unix sockets connection authentication - patch
Date: 2001-05-03 16:22:08
Message-ID: 200105031622.f43GM8iW010761@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>> The attached patch implements a method of connection authentication for
>> Unix sockets that support SCM_CREDENTIALS. This includes Linux kernels
>> 2.2 and 2.4 at least; I don't know what other implementations support
>> it.
>
>Are SCM_CREDENTIALS supported by some standard?

I don't know if there is a standard. I've done a search on Google - it
seems to have been invented by Sun and implemented in newer BSD as well
as Linux.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Rejoice with them that do rejoice, and weep with them
that weep." Romans 12:15

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-03 17:17:58 Final stamp for 7.1.1
Previous Message Piers Scannell 2001-05-03 16:20:58 RE: Found an example prooving bug