Date: Sat, 21 Sep 2002 15:07:17 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/osf1 imgact_osf1.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/pecoff imgact_pecoff.c src/sys/compat/svr4 imgact_svr4.c src/sys/fs/procfs procfs_status.c src/sys/i386/ibcs2 imgact_coff.c ... Message-ID: <200209212207.g8LM7I2L094756@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2002/09/21 15:07:17 PDT Modified files: sys/alpha/osf1 imgact_osf1.c sys/compat/linprocfs linprocfs.c sys/compat/pecoff imgact_pecoff.c sys/compat/svr4 imgact_svr4.c sys/fs/procfs procfs_status.c sys/i386/ibcs2 imgact_coff.c sys/i386/linux imgact_linux.c sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c init_main.c kern_exec.c kern_exit.c kern_resource.c sys/sys imgact.h sys/vm vm_glue.c vm_map.c vm_mmap.c vm_pageout.c vm_unix.c Log: Use the fields in the sysentvec and in the vm map header in place of the constants VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS, USRSTACK and PS_STRINGS. This is mainly so that they can be variable even for the native abi, based on different machine types. Get stack protections from the sysentvec too. This makes it trivial to map the stack non-executable for certain abis, on machines that support it. Revision Changes Path 1.15 +1 -1 src/sys/alpha/osf1/imgact_osf1.c 1.55 +2 -1 src/sys/compat/linprocfs/linprocfs.c 1.26 +1 -1 src/sys/compat/pecoff/imgact_pecoff.c 1.20 +1 -1 src/sys/compat/svr4/imgact_svr4.c 1.45 +3 -1 src/sys/fs/procfs/procfs_status.c 1.56 +1 -1 src/sys/i386/ibcs2/imgact_coff.c 1.45 +1 -1 src/sys/i386/linux/imgact_linux.c 1.88 +4 -4 src/sys/kern/imgact_aout.c 1.128 +1 -2 src/sys/kern/imgact_elf.c 1.48 +1 -1 src/sys/kern/imgact_gzip.c 1.207 +4 -4 src/sys/kern/init_main.c 1.192 +46 -20 src/sys/kern/kern_exec.c 1.177 +4 -4 src/sys/kern/kern_exit.c 1.109 +6 -3 src/sys/kern/kern_resource.c 1.31 +2 -2 src/sys/sys/imgact.h 1.156 +6 -14 src/sys/vm/vm_glue.c 1.267 +3 -4 src/sys/vm/vm_map.c 1.151 +12 -25 src/sys/vm/vm_mmap.c 1.207 +2 -2 src/sys/vm/vm_pageout.c 1.41 +1 -1 src/sys/vm/vm_unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209212207.g8LM7I2L094756>