plan9fox/sys/man/6
cinap_lenrek c2297ce5c1 kernel: use 64-bit virtual entry point for expanded header, document behaviour in a.out(6)
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.
2021-05-29 14:18:35 +02:00
..
0intro /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
a.out kernel: use 64-bit virtual entry point for expanded header, document behaviour in a.out(6) 2021-05-29 14:18:35 +02:00
ar /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
authsrv spelling 2018-07-24 09:04:50 +02:00
color /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
face /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
font /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
galaxy /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
htmlroff /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
image image(6): fix typo 2020-02-04 21:32:33 +01:00
keyboard /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
keys.who /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
man /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
map /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mdir /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mhtml /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mnihongo /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
mpictures /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
ms /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
namespace ns, devproc: quote path and spec arguments for /proc/$pid/ns, namespace(6) does support quoting 2018-02-25 03:24:31 +01:00
ndb dhcpd(8), ndb(6): group related ndb attributes together 2019-01-24 20:30:14 +01:00
plot /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
plumb /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
regexp /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
rewrite /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
smtpd /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
snap /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
style /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
thumbprint /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
users /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
utf /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
venti /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
venti.conf /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00
vgadb /sys/man/*/*: fix perms (sorry) 2017-12-11 19:58:06 -05:00