Subject: CVS commit: syssrc/sys
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 10/30/2001 17:32:05
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Oct 30 15:32:05 UTC 2001

Modified Files:
	syssrc/sys/arch/mips/mips: cpu_exec.c
	syssrc/sys/arch/sh3/sh3: coff_exec.c
	syssrc/sys/compat/common: compat_exec.c
	syssrc/sys/compat/hpux: hpux_exec_aout.c
	syssrc/sys/compat/ibcs2: ibcs2_exec_coff.c
	syssrc/sys/compat/linux/common: linux_exec_aout.c linux_uselib.c
	syssrc/sys/compat/m68k4k: m68k4k_exec.c
	syssrc/sys/compat/netbsd32: netbsd32_exec_aout.c
	syssrc/sys/compat/sunos: sunos_exec_aout.c
	syssrc/sys/kern: exec_aout.c exec_ecoff.c exec_elf32.c exec_macho.c
	    vfs_subr.c vfs_vnops.c
	syssrc/sys/sys: vnode.h
	syssrc/sys/uvm: uvm_map.c uvm_mmap.c uvm_object.h

Log Message:
- Add a new vnode flag VEXECMAP, which indicates that a vnode has
  executable mappings.  Stop overloading VTEXT for this purpose (VTEXT
  also has another meaning).
- Rename vn_marktext() to vn_markexec(), and use it when executable
  mappings of a vnode are established.
- In places where we want to set VTEXT, set it in v_flag directly, rather
  than making a function call to do this (it no longer makes sense to
  use a function call, since we no longer overload VTEXT with VEXECMAP's

VEXECMAP suggested by Chuq Silvers.

To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 syssrc/sys/arch/mips/mips/cpu_exec.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/sh3/sh3/coff_exec.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/common/compat_exec.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/hpux/hpux_exec_aout.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/ibcs2/ibcs2_exec_coff.c
cvs rdiff -r1.45 -r1.46 syssrc/sys/compat/linux/common/linux_exec_aout.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/compat/linux/common/linux_uselib.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/compat/m68k4k/m68k4k_exec.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/compat/netbsd32/netbsd32_exec_aout.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/sunos/sunos_exec_aout.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/kern/exec_aout.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/kern/exec_ecoff.c
cvs rdiff -r1.67 -r1.68 syssrc/sys/kern/exec_elf32.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/kern/exec_macho.c
cvs rdiff -r1.160 -r1.161 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/kern/vfs_vnops.c
cvs rdiff -r1.92 -r1.93 syssrc/sys/sys/vnode.h
cvs rdiff -r1.109 -r1.110 syssrc/sys/uvm/uvm_map.c
cvs rdiff -r1.57 -r1.58 syssrc/sys/uvm/uvm_mmap.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/uvm/uvm_object.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.