Re: getpeereid() for Linux

From: Andi Kleen (ak@suse.de)
Date: Wed Sep 05 2001 - 04:52:09 EST


Florian Weimer <Florian.Weimer@RUS.Uni-Stuttgart.DE> writes:

> Would anyone like to give me a helping hand in implementing the
> getpeereid() syscall for Linux? See the following page for the
> documentation of the OpenBSD implementation:

It is implemented for unix sockets (see unix(7))
For TCP it is rather useless because it would work only locally. If you trust
the localhost you're probably better off using the ident protocol for it.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:30 EST