cvs commit: src/sys/kern vfs_syscalls.c
Jeff Roberson
jroberson at chesapeake.net
Tue Jul 29 00:34:21 PDT 2003
On Tue, 29 Jul 2003, Poul-Henning Kamp wrote:
> In message <20030728181050.D14210-100000 at 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
More information about the cvs-src
mailing list