[lkml]   [2000]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Ownership of sockets 2.4.0-test2
On Thu, Jul 06, 2000 at 09:16:38PM +0100, Alan Cox wrote:
> So its a problem to sort out with ident


> Another point is that an rlogin/rsh type tool should be dropping setuidness
> and keeping just the capability for low ports on a current kernel..

Yes, but not in thes case ;)
You have to drop privileges after calling bind, then the owner of
the socket is set.

The only thing an application can do right now is do a setfsuid, right?

That solves the 'problem' right now. It could call setfsuid before
socket and bind. inet_bind goes for the euid in capaple, not the fsuid.

It's not pretty, but what the heck.

Thank you for the patient answers.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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