c2297ce5c1
For 64-bit architectures, the a.out header has the HDR_MAGIC flag set in the magic and is expanded by 8 bytes containing the 64-bit virtual address of the programs entry point. While Exec.entry contains physical address for kernel images. Our sysexec() would always use Exec.entry, even for 64-bit a.out binaries, which worked because PADDR(entry) == entry for userspace pointers. This change fixes it, having the kernel use the 64-bit entry point and document the behaviour in the manpage. |
||
---|---|---|
.. | ||
0intro | ||
a.out | ||
ar | ||
authsrv | ||
color | ||
face | ||
font | ||
galaxy | ||
htmlroff | ||
image | ||
keyboard | ||
keys.who | ||
man | ||
map | ||
mdir | ||
mhtml | ||
mnihongo | ||
mpictures | ||
ms | ||
namespace | ||
ndb | ||
plot | ||
plumb | ||
regexp | ||
rewrite | ||
smtpd | ||
snap | ||
style | ||
thumbprint | ||
users | ||
utf | ||
venti | ||
venti.conf | ||
vgadb |