]> Zhao Yanbai Git Server - minix.git/commit
libexec: add load_offset feature, used for ld.so
authorBen Gras <ben@minix3.org>
Fri, 10 Aug 2012 16:27:23 +0000 (18:27 +0200)
committerBen Gras <ben@minix3.org>
Sun, 12 Aug 2012 21:22:54 +0000 (23:22 +0200)
commit31d8526346b8737a4117bbc433d4b15788915771
tree0ded7624691b57c4643c547433318e2d302e5a38
parentad898517ac25f4cc9090dab56f7f5d8883363fbf
libexec: add load_offset feature, used for ld.so

. ld.so is linked at 0 but it can relocate itself; we
  wish to load ld.so higher though to trap NULL dereferences.
  if we know we have to execute ld.so, vfs tells libexec to put it
  higher.
lib/libexec/exec_elf.c
lib/libexec/libexec.h
servers/vfs/exec.c