Linux i386 clone(): %ebx 'frobbing' ?
Daniel Jacobowitz
dan@debian.org
Fri Feb 15 20:08:00 GMT 2008
Dunno what this had to do with lkml...
On Fri, Feb 15, 2008 at 08:42:28PM +0200, Ahmed S. Darwish wrote:
> I don't understand how the `fn' argument reached the child thread
> in the %ebx register. It's said in the comment that `fn' will be
> popped to child 'in the ebx frobbing below'. But what does that mean ?
After the int 0x80 the next instructions run once in the parent on the
parent stack and once in the child on the child stack. That pops
%ebx.
--
Daniel Jacobowitz
CodeSourcery
More information about the Libc-alpha
mailing list