[lkml]   [2001]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: getpeereid() for Linux
Andi Kleen <> 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
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.042 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site