Albert> Perhaps you could explain how to access ELF notes from
Albert> regular app code. That covers 2.4 kernels AFAIK, and so the
Albert> hacks could go away as soon as Debian retires the 2.2
Albert> kernel.
The ELF auxiliary info table is stored at the top of the user level
stack (above argv and envp). &envp[num_envs] should get you there
(check on the alignment, though).
--david
-
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/