Re: getpeereid() for Linux

H. Peter Anvin (hpa@zytor.com)
5 Sep 2001 13:26:09 -0700


Followup to: <tgd755vdl9.fsf@mercury.rus.uni-stuttgart.de>
By author: Florian Weimer <Florian.Weimer@RUS.Uni-Stuttgart.DE>
In newsgroup: linux.dev.kernel
>
> I need the credentials only for local connections, though. This is
> technically possible. A userspace implementation partially cloning
> ident seems to be a possible approach.
>

Since it will only work locally anyway, just use a Unix domain socket
-- that's what they're for.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
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/