>  > Basically, linux_mmap2 takes 6 args, and this looks here like only 5 args are
>  > making it in... I checked this because the sixth argument to linux_mmap2() in
>  > truss was showing 0x6, but when I printed out that arg from the kernel, it
>  > was showing 0x0. Am I correct here?
>  >
>  > Ken
>
> Yes.  According to http://john.fremlin.de/linux/asm/, linux used to
> parse only 5 args but now it parses six.  Try adding:
>         args[5] = tf->tf_ebp;
>
I don't think that arg is there:

Apr 23 10:36:13 ken /kernel: tf->tf_ebp = -1077938040

Ken


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to