Re: getpeereid() for Linux

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed Sep 05 2001 - 15:26:09 EST


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/



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