Re: [announce] kexec for linux 2.6.6

From: Ulrich Drepper
Date: Wed May 12 2004 - 00:02:57 EST


Randy.Dunlap wrote:

> And if anyone has suggestions for handling a variable/moving
> syscall number (target), I'm interested in hearing them.

If all architectures would finally get a vdso implementation you could
just add the necessary stub in the vdso, add a symbol in the symbol
table of the vdso, and use in the userlevel code

sym = dlsym (RTLD_DEFAULT, "the_symbol_name")

If the returned value is not NULL the symbol exists.

I've described this many times as one of the huge advantages of vdsos,
hopefully this time it clicks.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/