The kernel and the C library as a single project
The kernel and the C library as a single project
Posted Dec 1, 2010 16:27 UTC (Wed) by nix (subscriber, #2304)In reply to: The kernel and the C library as a single project by sfeam
Parent article: The kernel and the C library as a single project
I suppose you could perhaps have a scheme where the kernel reads a PT_INTERP of '/lib/ld-linux.so.2' and looks for /lib/lds/{kernel version}/ld-linux.so.2 first, but I suspect this would have trouble getting upstream, because one extra path lookup per exec() is quite a cost.
Posted Dec 1, 2010 19:07 UTC (Wed)
by kmself (guest, #11565)
[Link] (3 responses)
/proc, /sys, /lib-ld-linux.so.2, /usr/games/nethack ....
Actually, since /lib/ld-linux.so.2 is already a symlink, it'd be even easier.
ls -l /dev/std{in,out,err} f'rex.
Posted Dec 2, 2010 14:39 UTC (Thu)
by nix (subscriber, #2304)
[Link] (2 responses)
Posted Dec 3, 2010 5:09 UTC (Fri)
by jzbiciak (guest, #5246)
[Link] (1 responses)
Posted Dec 4, 2010 23:05 UTC (Sat)
by nix (subscriber, #2304)
[Link]
Pity Linux doesn't support virtual files or filesystem
Pity Linux doesn't support virtual files or filesystem
Pity Linux doesn't support virtual files or filesystem
Pity Linux doesn't support virtual files or filesystem