Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 03:34:13 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern vfs_syscalls.c 
Message-ID:  <20030729033236.X14210-100000@mail.chesapeake.net>
In-Reply-To: <81213.1059462924@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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