Subject: Re: netbsd32_mount: one possible solution
To: None <cube@cubidou.net>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 07/23/2005 16:56:04
> > > Actually, I think the best is simply to add a paramater to vfs_mount.
> > > See the attached patch (no, it doesn't list the changes to all the other
> > > _mount() prototypes).
> > 
> > if you're adding a new parameter, can you make it "int flags"
> > so that other operational flags like MNT_FORCE can use it as well?
> 
> That won't change the fact that MNT_FORCE is passed from userland in
> the flags argument of the syscall.

what i want to change is VFS_MOUNT, not the syscall.
yes, changing the syscall is another topic.

> > btw, why don't you use stackgap?
> 
> I could use stackgap, but that would make things very complicated, as
> it involves a few more copyin/copyout.  I already expect the code for
> NFS to be rather hairy.

you have to do complicated things anyway, don't you? :-)

YAMAMOTO Takashi