Subject: Re: Death of the 'stackgap'
To: Juan RP <juan@xtrarom.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 07/14/2007 20:04:10
On Fri, Jul 13, 2007 at 08:05:07AM +0100, David Laight wrote:
> On Thu, Jul 12, 2007 at 11:59:18PM +0200, Juan RP wrote:
> > Good work, but don't forget to fix puffs (doesn't work with your last set
> > of changes).
> 
> That is because puffs tries to do a copyout() to the users's buffer
> during mount.  I think that is a bug in puffs.
> The mount arguments can be recovered by calling:
>     mount(NULL, "path", MNT_GETARGS, buffer);

I've removed the copyout() and added a mount(..., MNT_GETARGS,...)
call to the puffs user-space code.

However this is after I changed sys_mount() to sys___mount50() so,
unless you do some other hacking, you'll need a new libc as well.

	David

-- 
David Laight: david@l8s.co.uk