Date: Tue, 1 Jan 2008 16:18:40 +0100 From: Marcus von Appen <mva@sysfault.org> To: Roman Divacky <rdivacky@freebsd.org> Cc: emulation@freebsd.org Subject: Re: mmap/mmap2 parameters type Message-ID: <20080101151840.GC992@medusa.sysfault.org> In-Reply-To: <20080101122638.GA93070@freebsd.org> References: <20080101122638.GA93070@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On, Tue Jan 01, 2008, Roman Divacky wrote:
>
> can someone tell me why? I dont think its correct. if you accept my analysis,
> is this patch correct?
>
> Index: linux.h
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/linux/linux.h,v
> retrieving revision 1.78
> diff -u -r1.78 linux.h
> --- linux.h 18 Sep 2007 19:50:33 -0000 1.78
> +++ linux.h 1 Jan 2008 12:20:54 -0000
> @@ -143,12 +143,12 @@
> #define LINUX_MAP_GROWSDOWN 0x0100
>
> struct l_mmap_argv {
> - l_uintptr_t addr;
> - l_size_t len;
> - l_int prot;
> - l_int flags;
> - l_int fd;
> - l_off_t pgoff;
> + l_ulong addr;
> + l_ulong len;
> + l_ulong prot;
> + l_ulong flags;
> + l_ulong fd;
> + l_ulong pgoff;
> } __packed;
>
> /*
>
>
> marcus, can you please test if that makes any difference with your problems?
> (I dont think it will but you never know ;) )
No, it does not.
Regards
Marcus
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFHelnPo/JpszXavhwRAtqTAJ0d1MaLkRJxBWTQAy8oXDOuQocV4wCeI6AX
hjDMxIUNqF+v2OXSFEohfnE=
=zt6s
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080101151840.GC992>
