> Thus glibc startup should be able to just do
>
> ptr = default_int80_syscall;
> if (AT_SYSINFO entry found)
> ptr = value(AT_SYSINFO)
>
> and then you can just do a
>
> call *ptr
This won't work as I just wrote but something similar I can make work.
I think the use of the TCB is the best thing to do. Replicating the
info in all thread new thread's TCBs doesn't cost much and with NPTL
it's even lower cost since we reuse old TCBs.
-- --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `---------------------------- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/