]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Moved elf brand identification into a function. Fully identify the
authorjake <jake@FreeBSD.org>
Mon, 2 Sep 2002 04:50:57 +0000 (04:50 +0000)
committerjake <jake@FreeBSD.org>
Mon, 2 Sep 2002 04:50:57 +0000 (04:50 +0000)
commit40170d28fcd518bbcd51e6492f086599d6c1f78d
tree00cea21f5d29b5a82bb4581241a2dd03d0dc5f0a
parent0f13b0cacabdd3980a4b8b0c95680cf4a3cdc72b
Moved elf brand identification into a function.  Fully identify the
brand early in the process of loading an elf file, so that we can
identify the sysentvec, and so that we do not continue if we do not
have a brand (and thus a sysentvec).  Use the values in the sysentvec
for the page size and vm ranges unconditionally, since they are all
filled in now.
sys/kern/imgact_elf.c