Alright, sorry for the cross-post, not sure where to send this. I THINK I got linux's mmap2 working, but for some reason, the program I'm testing with (the linux version of winex, the one that runs all those neat windows directx 8 games ;-) ) still does this (from truss)
linux_mmap2(0x65430000,0x100000,0x0,0x22,0xffffffff,0x6) = 1698889728 (0x65430000) linux_mmap2(0x65430000,0x100000,0x3,0x11,0x9,0x6) = 1698889728 (0x65430000) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2b70,0x8) = 0 (0x0) write(4,0x286b2c08,64) = 64 (0x40) read(0x5,0x286b2c08,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2b70,0x0,0x8) = 0 (0x0) close(9) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) = 0 (0x0) writev(0x4,0x286b2c38,0x2) = 98 (0x62) read(0x5,0x286b2d14,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) = 0 (0x0) mprotect(0x65430000,0x100000,0x7) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c90,0x8) = 0 (0x0) write(4,0x286b2d20,64) = 64 (0x40) read(0x5,0x286b2d20,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c90,0x0,0x8) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2c78,0x8) = 0 (0x0) write(4,0x286b2d10,64) = 64 (0x40) read(0x5,0x286b2d10,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2c78,0x0,0x8) = 0 (0x0) close(6) = 0 (0x0) linux_mmap2(0x0,0x120000,0x0,0x22,0xffffffff,0x6) = 678707200 (0x28744000) munmap(0x28744000,0xc000) = 0 (0x0) munmap(0x28860000,0x4000) = 0 (0x0) mprotect(0x28750000,0x10000,0x7) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) = 0 (0x0) write(4,0x286b2d40,64) = 64 (0x40) read(0x5,0x286b2d40,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) = 0 (0x0) write(4,0x286b2d40,64) = 64 (0x40) read(0x5,0x286b2d40,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ca4,0x8) = 0 (0x0) write(4,0x286b2d40,64) = 64 (0x40) read(0x5,0x286b2d40,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ca4,0x0,0x8) = 0 (0x0) linux_open("/",0x8000,00) = 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument' close(6) = 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) = 0 (0x0) linux_open("/",0x18800,00) = 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) = 0 (0x0) linux_fcntl64(0x6,0x2,0x1) = 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) = 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) = 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) = 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) = 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) = 0 (0x0) close(6) = 0 (0x0) linux_open("/",0x8000,00) = 6 (0x6) linux_ioctl(0x6,0x82187201,0x28391024) ERR#22 'Invalid argument' close(6) = 0 (0x0) linux_stat64(0x286b23f0,0x286b2274,0x2813c568) = 0 (0x0) linux_open("/",0x18800,00) = 6 (0x6) linux_fstat64(0x6,0x286b2274,0x0) = 0 (0x0) linux_fcntl64(0x6,0x2,0x1) = 0 (0x0) linux_getdents64(0x6,0x286b2148,0x110) = 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) = 252 (0xfc) linux_getdents64(0x6,0x286b2148,0x110) = 264 (0x108) linux_getdents64(0x6,0x286b2148,0x110) = 60 (0x3c) linux_getdents64(0x6,0x286b2148,0x110) = 0 (0x0) close(6) = 0 (0x0) linux_rt_sigprocmask(0x0,0x28150c00,0x286b2ce0,0x8) = 0 (0x0) write(4,0x286b2d74,64) = 64 (0x40) read(0x5,0x286b2d74,0x40) = 64 (0x40) linux_rt_sigprocmask(0x2,0x286b2ce0,0x0,0x8) = 0 (0x0) exit(0x0) process exit, rval = 0 this is the end of the truss output, can anyone tell me if anything in this truss output looks like it would cause the program to exit without doing anything? (this is what happens, it doesn't do ANYTHING at all Ken To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message