From owner-cvs-all Sat Sep 21 15: 7:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C66A437B404; Sat, 21 Sep 2002 15:07:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2758F43E3B; Sat, 21 Sep 2002 15:07:18 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: from freefall.freebsd.org (jake@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8LM7ICo094757; Sat, 21 Sep 2002 15:07:18 -0700 (PDT) (envelope-from jake@freefall.freebsd.org) Received: (from jake@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8LM7I2L094756; Sat, 21 Sep 2002 15:07:18 -0700 (PDT) Message-Id: <200209212207.g8LM7I2L094756@freefall.freebsd.org> From: Jake Burkholder Date: Sat, 21 Sep 2002 15:07:17 -0700 (PDT) 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 ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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