Date: Sun, 21 Apr 2002 23:04:09 -0400 From: Kenneth Culver <culverk@yumyumyum.org> To: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: more on mmap2 Message-ID: <200204212304.09259.culverk@yumyumyum.org>
next in thread | raw e-mail | index | archive | help
Alright, sorry for the cross-post, not sure where to send this. I THINK I= got=20 linux's mmap2 working, but for some reason, the program I'm testing with = (the=20 linux version of winex, the one that runs all those neat windows directx = 8=20 games ;-) ) still does this (from truss) linux_mmap2(0x65430000,0x100000,0x0,0x22,0xffffffff,0x6) =3D 1698889728=20 (0x65430000) linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) =3D 1698889728 (0x65430= 000) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2b70,0x8) =3D 0 (0x0) write(4,0x286b2c08,64) =3D 64 (0x40) read(0x5,0x286b2c08,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2b70,0x0,0x8) =3D 0 (0x0) close(9) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) =3D 0 (0x0) writev(0x4,0x286b2c38,0x2) =3D 98 (0x62) read(0x5,0x286b2d14,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) =3D 0 (0x0) mprotect(0x65430000,0x100000,0x7) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c90,0x8) =3D 0 (0x0) write(4,0x286b2d20,64) =3D 64 (0x40) read(0x5,0x286b2d20,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c90,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) =3D 0 (0x0) write(4,0x286b2d10,64) =3D 64 (0x40) read(0x5,0x286b2d10,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_mmap2(0x0,0x120000,0x0,0x22,0xffffffff,0x6) =3D 678707200 (0x287440= 00) munmap(0x28744000,0xc000) =3D 0 (0x0) munmap(0x28860000,0x4000) =3D 0 (0x0) mprotect(0x28750000,0x10000,0x7) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) =3D 0 (0x0) write(4,0x286b2d40,64) =3D 64 (0x40) read(0x5,0x286b2d40,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) =3D 0 (0x0) linux_open("/",0x8000,00) =3D 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument= ' close(6) =3D 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) =3D 0 (0x0) linux_open("/",0x18800,00) =3D 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) =3D 0 (0x0) linux_fcntl64(0x6,0x2,0x1) =3D 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) =3D 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_open("/",0x8000,00) =3D 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument= ' close(6) =3D 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) =3D 0 (0x0) linux_open("/",0x18800,00) =3D 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) =3D 0 (0x0) linux_fcntl64(0x6,0x2,0x1) =3D 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) =3D 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) =3D 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) =3D 0 (0x0) close(6) =3D 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ce0,0x8) =3D 0 (0x0) write(4,0x286b2d74,64) =3D 64 (0x40) read(0x5,0x286b2d74,0x40) =3D 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ce0,0x0,0x8) =3D 0 (0x0) exit(0x0) process exit, rval =3D 0 this is the end of the truss output, can anyone tell me if anything in th= is=20 truss output looks like it would cause the program to exit without doing=20 anything? (this is what happens, it doesn't do ANYTHING at all Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204212304.09259.culverk>