Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 1996 12:17:53 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        wollman@lcs.mit.edu (Garrett A. Wollman)
Cc:        msmith@atrad.adelaide.edu.au, security@freebsd.org
Subject:   Re: SS_PRIV, SIOCSIFADDR and rshd
Message-ID:  <199602080147.MAA13788@genesis.atrad.adelaide.edu.au>
In-Reply-To: <9602071544.AA19509@halloran-eldar.lcs.mit.edu> from "Garrett A. Wollman" at Feb 7, 96 10:44:17 am

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett A. Wollman stands accused of saying:
> 
> > Anyone in a position to comment on this?  I can't see anything obvious that
> > resets SS_PRIV (or any of the socket state attributes) on either exec or
> > set*id...
> 
> Not a problem for the case of rshd.  Our rshd always uses pipes to
> talk to the inferior process.
> 
> It's worth thinking about; I'll cons up a new setsockopt today to fix
> the problem in the general case (at least for inetd).

Hmm.  There's no user struct visible at that level, so I guess it's not
likely to be easy to check for uid == 0.

> -GAWollman

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "wherever you go, there you are" - Buckaroo Banzai                   [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602080147.MAA13788>