Re: [PATCH] Ownership of sockets 2.4.0-test2

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jul 06 2000 - 12:43:15 EST


> Setting the owner of a socket to fsuid and fsgid makes perfect
> sense if the sockets are local, but it doesn't make sense if
> the sockets are non-local. A result is that the owner of
> tcp-connections from suid-programs like rlogin gets the wrong
> owner. This shows in netstat and pidentd since the both

It gets the right owner. The socket is owned by root. You are adding
a hideous hack. If you must mess with this then it probably makes more sense
to think about fchown() semantics on sockets

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:19 EST