From owner-cvs-src@FreeBSD.ORG Tue Jul 29 00:34:21 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1018E37B401; Tue, 29 Jul 2003 00:34:21 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E65EE43F75; Tue, 29 Jul 2003 00:34:19 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h6T7YDB68433; Tue, 29 Jul 2003 03:34:13 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 29 Jul 2003 03:34:13 -0400 (EDT) From: Jeff Roberson To: Poul-Henning Kamp In-Reply-To: <81213.1059462924@critter.freebsd.dk> Message-ID: <20030729033236.X14210-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 07:34:21 -0000 On Tue, 29 Jul 2003, Poul-Henning Kamp wrote: > In message <20030728181050.D14210-100000@mail.chesapeake.net>, Jeff Roberson wr > ites: > >On Sun, 27 Jul 2003, Poul-Henning Kamp wrote: > > > >> phk 2003/07/27 13:09:13 PDT > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern vfs_syscalls.c > >> Log: > >> Pass the file descriptor index down to vn_open. > > > >Why? Was this discussed on arch? > > So that things like /dev/stream /dev/fd/* and similar can use a > less gruesome hack than today, and so that access to devices from > userland doesn't have to take the long tour through vnodes. > Yes, I see, but this is a pretty horrific layering violation. I think we should think of the right way to do this instead of doing another gruesome hack. I fear that this is going to snowball out. Why don't we discuss this more before commiting to a plan. Cheers, Jeff