Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/sys



Module Name:    src
Committed By:   tron
Date:           Sun Sep 18 20:09:51 UTC 2005

Modified Files:
        src/sys/arch/amd64/amd64 [netbsd-3]: netbsd32_machdep.c
        src/sys/arch/amd64/include [netbsd-3]: vmparam.h
        src/sys/arch/sparc64/include [netbsd-3]: vmparam.h
        src/sys/arch/sparc64/sparc64 [netbsd-3]: netbsd32_machdep.c
            svr4_32_machdep.c
        src/sys/compat/aoutm68k [netbsd-3]: aoutm68k_exec.c
        src/sys/compat/darwin [netbsd-3]: darwin_exec.c
        src/sys/compat/freebsd [netbsd-3]: freebsd_exec.c
        src/sys/compat/hpux [netbsd-3]: hpux_exec.c
        src/sys/compat/ibcs2 [netbsd-3]: ibcs2_exec.c
        src/sys/compat/irix [netbsd-3]: irix_exec.c
        src/sys/compat/linux/common [netbsd-3]: linux_exec.c
        src/sys/compat/mach [netbsd-3]: mach_exec.c
        src/sys/compat/netbsd32 [netbsd-3]: netbsd32.h netbsd32_netbsd.c
        src/sys/compat/osf1 [netbsd-3]: osf1_exec.c
        src/sys/compat/pecoff [netbsd-3]: pecoff_emul.c
        src/sys/compat/sunos [netbsd-3]: sunos_exec.c
        src/sys/compat/sunos32 [netbsd-3]: sunos32_exec.c
        src/sys/compat/svr4 [netbsd-3]: svr4_exec.c
        src/sys/compat/svr4_32 [netbsd-3]: svr4_32_exec.c svr4_32_exec.h
            svr4_32_resource.c
        src/sys/compat/ultrix [netbsd-3]: ultrix_misc.c
        src/sys/kern [netbsd-3]: exec_elf32.c kern_exec.c kern_resource.c
            sysv_shm.c
        src/sys/sys [netbsd-3]: proc.h
        src/sys/uvm [netbsd-3]: uvm_extern.h uvm_mmap.c

Log Message:
Pull up following revision(s) (requested by fvdl in ticket #798):
        sys/compat/sunos/sunos_exec.c: revision 1.47
        sys/compat/pecoff/pecoff_emul.c: revision 1.11
        sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.45
        sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.12
        sys/sys/proc.h: revision 1.198
        sys/compat/mach/mach_exec.c: revision 1.56
        sys/compat/freebsd/freebsd_exec.c: revision 1.27
        sys/arch/sparc64/include/vmparam.h: revision 1.27
        sys/kern/kern_resource.c: revision 1.91
        sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.88
        sys/compat/osf1/osf1_exec.c: revision 1.39
        sys/compat/svr4_32/svr4_32_resource.c: revision 1.5
        sys/compat/ultrix/ultrix_misc.c: revision 1.99
        sys/compat/svr4_32/svr4_32_exec.h: revision 1.9
        sys/kern/exec_elf32.c: revision 1.103
        sys/compat/aoutm68k/aoutm68k_exec.c: revision 1.19
        sys/compat/sunos32/sunos32_exec.c: revision 1.20
        sys/compat/hpux/hpux_exec.c: revision 1.46
        sys/compat/darwin/darwin_exec.c: revision 1.40
        sys/kern/sysv_shm.c: revision 1.83
        sys/uvm/uvm_extern.h: revision 1.99
        sys/uvm/uvm_mmap.c: revision 1.89
        sys/kern/kern_exec.c: revision 1.195
        sys/compat/netbsd32/netbsd32.h: revision 1.31
        sys/arch/sparc64/sparc64/svr4_32_machdep.c: revision 1.20
        sys/compat/svr4/svr4_exec.c: revision 1.56
        sys/compat/irix/irix_exec.c: revision 1.41
        sys/compat/ibcs2/ibcs2_exec.c: revision 1.63
        sys/compat/svr4_32/svr4_32_exec.c: revision 1.16
        sys/arch/amd64/include/vmparam.h: revision 1.8
        sys/compat/linux/common/linux_exec.c: revision 1.73
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses.
* For sparc64 and amd64, define *SIZ32 VM constants.
* Add a new function pointer to struct emul, pointing at a function
  that will return the default VM map address. The default function
  is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS
  macro. This gives emulations control over the default map address,
  and allows things to be mapped at the right address (in 32bit range)
  for COMPAT_NETBSD32.
* Add code to adjust the data and stack limits when a COMPAT_NETBSD32
  or COMPAT_SVR4_32 binary is executed.
* Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr
  instead (emulations might have set it differently)
* Since this changes struct emul, bump kernel version to 3.99.2
Tested on amd64, compile-tested on sparc64.


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.11.10.1 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.7 -r1.7.4.1 src/sys/arch/amd64/include/vmparam.h
cvs rdiff -r1.26 -r1.26.14.1 src/sys/arch/sparc64/include/vmparam.h
cvs rdiff -r1.44.10.2 -r1.44.10.3 \
    src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -r1.19 -r1.19.2.1 src/sys/arch/sparc64/sparc64/svr4_32_machdep.c
cvs rdiff -r1.18 -r1.18.10.1 src/sys/compat/aoutm68k/aoutm68k_exec.c
cvs rdiff -r1.39 -r1.39.2.1 src/sys/compat/darwin/darwin_exec.c
cvs rdiff -r1.26 -r1.26.10.1 src/sys/compat/freebsd/freebsd_exec.c
cvs rdiff -r1.45 -r1.45.2.1 src/sys/compat/hpux/hpux_exec.c
cvs rdiff -r1.62 -r1.62.2.1 src/sys/compat/ibcs2/ibcs2_exec.c
cvs rdiff -r1.40 -r1.40.2.1 src/sys/compat/irix/irix_exec.c
cvs rdiff -r1.72 -r1.72.10.1 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -r1.55 -r1.55.2.1 src/sys/compat/mach/mach_exec.c
cvs rdiff -r1.30 -r1.30.2.1 src/sys/compat/netbsd32/netbsd32.h
cvs rdiff -r1.87 -r1.87.2.1 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.38 -r1.38.6.1 src/sys/compat/osf1/osf1_exec.c
cvs rdiff -r1.10 -r1.10.14.1 src/sys/compat/pecoff/pecoff_emul.c
cvs rdiff -r1.46 -r1.46.2.1 src/sys/compat/sunos/sunos_exec.c
cvs rdiff -r1.19 -r1.19.14.1 src/sys/compat/sunos32/sunos32_exec.c
cvs rdiff -r1.55 -r1.55.10.1 src/sys/compat/svr4/svr4_exec.c
cvs rdiff -r1.15 -r1.15.10.1 src/sys/compat/svr4_32/svr4_32_exec.c
cvs rdiff -r1.8 -r1.8.14.1 src/sys/compat/svr4_32/svr4_32_exec.h
cvs rdiff -r1.4 -r1.4.2.1 src/sys/compat/svr4_32/svr4_32_resource.c
cvs rdiff -r1.98 -r1.98.2.1 src/sys/compat/ultrix/ultrix_misc.c
cvs rdiff -r1.102 -r1.102.2.1 src/sys/kern/exec_elf32.c
cvs rdiff -r1.194.4.9 -r1.194.4.10 src/sys/kern/kern_exec.c
cvs rdiff -r1.87 -r1.87.2.1 src/sys/kern/kern_resource.c
cvs rdiff -r1.82 -r1.82.10.1 src/sys/kern/sysv_shm.c
cvs rdiff -r1.197 -r1.197.2.1 src/sys/sys/proc.h
cvs rdiff -r1.98 -r1.98.8.1 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.88.4.1 -r1.88.4.2 src/sys/uvm/uvm_mmap.c

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




Home | Main Index | Thread Index | Old Index