chungwei Hsiung <[EMAIL PROTECTED]> writes:
> I still don't understand it because we are supposed to pass in the
> op code 0xb to %eax, and arguments to %ebx, %ecx, and %edx before
> calling interupt, but I can't see any of those instruction
> anywhere. Did I miss anything?

Huh?  Arguments are passed on the stack, and execve() is syscall 59
(0x3b as you can see in the disassembly).  What gave you the idea that
we were passing arguments in registers?  This isn't DOS, you know...

DES
-- 
Dag-Erling Smørgrav - [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to