From owner-cvs-all Tue Jul 4 23: 9:37 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id CEE1237BF5E; Tue, 4 Jul 2000 23:09:26 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id AAA14231; Wed, 5 Jul 2000 00:09:24 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id AAA37799; Wed, 5 Jul 2000 00:09:06 -0600 (MDT) Message-Id: <200007050609.AAA37799@harmony.village.org> To: Mike Smith Subject: Re: cvs commit: src/crypto/openssh sshd.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Tue, 04 Jul 2000 23:14:14 PDT." <200007050614.XAA08241@mass.osd.bsdi.com> References: <200007050614.XAA08241@mass.osd.bsdi.com> Date: Wed, 05 Jul 2000 00:09:06 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200007050614.XAA08241@mass.osd.bsdi.com> Mike Smith writes: : > In message <200007042117.OAA05458@mass.osd.bsdi.com> Mike Smith writes: : > : > I have a continuing strong objection to the presence : > : > of "file" in /proc in the first place, as I don't feel it substantially : > : > contributes to useful functionality in /proc. : > : : > : ?? That's nonsense. It provides a useful piece of information (the image : > : file backing a process' text/data) that is not available anywhere else. : > : > Except it is a security hole when it was the vnode... I like file : > being there since it makes gcore work again :-) : : I think it's pretty clear that the feature needs to be secure, however : now that it is, I can't see any reason for deprecating it. I was agreeing with you that files is almost required in procfs and much much harder to obtain via other methods. It is used by gcore, for example. It shouldn't be abused to do something like exec, but doing so won't hurt since the path is as secure as the original file and directory were. I agree it shouldn't be depricated. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message