I wrote some code to do this in 1.2, but with a.out shared libraries
its just not possible. With 2.0 and ELF it is doable if you want to write
to code to track committed virtual address space then you should be able
to add the stuff needed.
Just watch ptrace as it provides an additional "suprise" way to overcommit
memory (the fork bomb using ptrace to alter each page of code space can
be very funny on some 'no overcommit' systems).
Alan
-- --------------------------------.---------------------------------------------- UKUU free UUCP Project Swansea | Alan Cox, <alan.cox@linux.org> +44 1792 422028 (Cabletel) | Custom Linux Software Projects. Sonix 33.6K 24x7 | Linux Consultancy. Linux Networking.