a) Extending makecontext() on AMD64 so it can pass pointers, and add a
    section to the manpage to explain that you cannot portably do this,
    but GNU libc happens to allow it,

This is not possible, as it would break the ABI, something we do not
want, and break the compliance to POSIX.

It is possible, as far as passing int is unaffected,
all other cases have undefined behaviour in POSIX.
In fact, the needed source change is already in glibc 2.8.

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/x86_64/makecontext.c.diff?r1=1.5&r2=1.6&cvsroot=glibc

But it is not possible to pass ints, longs and pointers
in general on all architectures.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to