Messages in this thread |  | | Subject | Re: getpeereid() for Linux | From | Florian Weimer <> | Date | 05 Sep 2001 12:56:10 +0200 |
| |
Andi Kleen <ak@suse.de> writes:
> SO_PEERCRED doesn't need any cooperation from the other end (at least > not for SOCK_STREAM)
Thanks. Over here, SO_PEERCRED is documented in socket(7). ;-)
> There is netfilter owner match, but it is a bad hack.
I certainly don't want to give a user process the right to add netfilter rules dynamically. :-/
> I think you're better off with identd.
Or some /proc parsing (which is probably what identd does, too).
-- Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE University of Stuttgart http://cert.uni-stuttgart.de/ RUS-CERT +49-711-685-5973/fax +49-711-685-5898 - 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/
|  |