Re: getpeereid() for Linux

Andi Kleen (ak@suse.de)
05 Sep 2001 11:52:09 +0200


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/