Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 10:21:11 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.ORG>
To:        Mike Barcroft <mike@FreeBSD.ORG>
Cc:        Mike Silbersack <silby@silby.com>, Garrett Wollman <wollman@lcs.mit.edu>, "M. Warner Losh" <imp@village.org>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c kern_exec.c src/sys/sys filedesc.h
Message-ID:  <20020423152111.GC28750@madman.nectar.cc>
In-Reply-To: <20020423105336.E72727@espresso.q9media.com>
References:  <20020422160742.B8421@espresso.q9media.com> <20020423030714.U24733-100000@patrocles.silby.com> <20020423105336.E72727@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 23, 2002 at 10:53:36AM -0400, Mike Barcroft wrote:
> See the prior discussion; it breaks conformance to the Standard.

For set[ug]id executables, perhaps.

> There's no reason a conforming program couldn't use closed file
> descriptors to relay a message to a an exec()'d process, for instance.

Yes there is... it is not safe if the set-user-id or set-group-id bit
is set.

Cheers,
-- 
Jacques A. Vidrine <n@nectar.cc>                 http://www.nectar.cc/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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