[PATCH] More stackgap removal

Jung-uk Kim jkim at niksun.com
Wed Mar 9 22:15:21 GMT 2005


On Wednesday 09 March 2005 10:31 am, John Baldwin wrote:
> On Wednesday 02 March 2005 04:43 pm, John Baldwin wrote:
> > I've fixed up a few more syscalls to have kern_foo versions so
> > that ABI wrappers for them can stop using the stackgap.  In this
> > patch, I've added kern_settimeofday() for ibcs2 and freebsd32,
> > kern_adjtime() for freebsd32, and kern_sched_rr_get_interval()
> > for Linux/i386 on amd64 (note that this means that COMPAT_LINUX32
> > now requires POSIX_PRIORITY_SCHEDULING). I've also added
> > kern_readv() and kern_writev() for OSF/1, Linux/i386 on amd64,
> > and freebsd32.  For these functions I added a per-ABI version of
> > copyinuio() to build a uio structure from the iovec array in
> > userland. Testing and feedback of both native and compat binaries
> > greatly appreciated.
> >
> > http://www.FreeBSD.org/~jhb/patches/abi.patch
>
> Is anyone willing to test this?

The attachment corrects two obvious typos in freebsd32_misc.c.  With 
this, freebsd32 works fine on amd64.

Thanks,

Jung-uk Kim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freebsd32_misc.diff
Type: text/x-diff
Size: 536 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050309/727a7458/freebsd32_misc-0001.bin


More information about the freebsd-amd64 mailing list