]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r226342 (by marcel):
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Jun 2012 10:38:14 +0000 (10:38 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Jun 2012 10:38:14 +0000 (10:38 +0000)
commit2a08a8041178387d87aed82fe3e8c5071887969d
treee92b383e5cdef4731d60f4f971318575d9b7e724
parentbf94fe41ea2cb81238dd81cd9579f25b1a1d1234
MFC r226342 (by marcel):
In elf32_trans_prot() and when compiling for amd64 or ia64, add
PROT_EXECUTE when PROT_READ is needed. By default i386 allows
execution when reading is allowed and JDK 1.4.x depends on that.

MFC r226343 (by marcel):
In sys_obreak() and when compiling for amd64 or ia64, when the process
is ILP32 (i.e. i386) grant execute permissions by default. The JDK 1.4.x
depends on being able to execute from the heap on i386.

MFC r226347 (by marcel):
In freebsd32_mmap() and when compiling for amd64 or ia64, also
ask for execute permissions when read permissions are wanted.
This is needed for JDK 1.4.x on i386.

MFC r226348 (by marcel):
Wrap mprotect(2).

MFC r226349 (by marcel):
Wrap mprotect(2) so that we can add execute permissions when read
permissions are requested. This is needed on amd64 and ia64 for
JDK 1.4.x.

MFC r226353 (by marcel):
Use PTRIN().

MFC r226388:
Control the execution permission of the readable segments for
i386 binaries on the amd64 and ia64 with the sysctl, instead of
unconditionally enabling it.

MFC note: the syscall tables were regenerated in r226349 and committed
together with changes to non-generated files. The merge includes
syscall tables regenerated after the merge, for stable/9.

git-svn-id: svn://svn.freebsd.org/base/stable/9@237134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/freebsd32/freebsd32_misc.c
sys/compat/freebsd32/freebsd32_proto.h
sys/compat/freebsd32/freebsd32_syscall.h
sys/compat/freebsd32/freebsd32_syscalls.c
sys/compat/freebsd32/freebsd32_sysent.c
sys/compat/freebsd32/freebsd32_systrace_args.c
sys/compat/freebsd32/syscalls.master
sys/kern/imgact_elf.c
sys/sys/sysent.h
sys/vm/vm_unix.c