Re: HZ, preferably as small as possible

David Mosberger (davidm@napali.hpl.hp.com)
Mon, 15 Jul 2002 11:30:21 -0700


>>>>> On Mon, 15 Jul 2002 14:20:31 -0400 (EDT), "Albert D. Cahalan" <acahalan@cs.uml.edu> said:

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/