The NetBSD Project

CVS log for src/sys/sys/exec.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.139 / (download) - annotate - [select for diffs], Sun Aug 5 01:43:59 2012 UTC (9 months, 2 weeks ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.138: +1 -3 lines
Diff to previous 1.138 (colored)

back out elf note changes and use EF_ARM_ABIVERS to determine EABI usage.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Aug 3 07:54:14 2012 UTC (9 months, 2 weeks ago) by matt
Branch: MAIN
Changes since 1.137: +3 -1 lines
Diff to previous 1.137 (colored)

Add a elf note to describe the ARM ABI in use.  If encounters on arm,
set EXEC_ARM_AAPCS bit in exec_package's ep_flags.
XXX kind of gross but it there's isn't a MD hook for notes so ...

Revision 1.137 / (download) - annotate - [select for diffs], Wed May 2 23:33:11 2012 UTC (12 months, 2 weeks ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

Revert posix_spawn() clean up for now, there are some bugs.

Revision 1.136 / (download) - annotate - [select for diffs], Mon Apr 30 21:19:58 2012 UTC (12 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

posix_spawn:
- Remove copy-pasting in error paths, use execve_free_{vmspace,data}().
- Move some code (both in the init and exit paths) out of the locks.
- Slightly simplify do_posix_spawn() callers.
- Add few asserts and comments.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Apr 8 11:27:45 2012 UTC (13 months, 1 week ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9
Changes since 1.134: +10 -1 lines
Diff to previous 1.134 (colored)

Rework posix_spawn locking and memory management:
 - always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat

Revision 1.134 / (download) - annotate - [select for diffs], Fri Feb 3 20:11:54 2012 UTC (15 months, 2 weeks ago) by matt
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.133: +6 -1 lines
Diff to previous 1.133 (colored)

Add a hook for freeing an ep_emul_arg.  Add a wrapper routine
(exec_free_emul_arg) to call the hook and then clear the ep_emul_arg
and ep_emul_arg_free members in the exec_package.
Change users/accessors to use these routines.
Approved by releng.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:32 2011 UTC (2 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.132: +13 -1 lines
Diff to previous 1.132 (colored)

Refactor ps_strings access. Based on PK_32, write either the normal
version or the 32bit compat layout in execve1. Introduce a new function
copyin_psstrings for reading it back from userland and converting it to
the native layout. Refactor procfs to share most of the code with the
kern.proc_args sysctl handler.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

Revision 1.132 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:34 2010 UTC (2 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.131: +5 -2 lines
Diff to previous 1.131 (colored)

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.131 / (download) - annotate - [select for diffs], Sat Sep 11 20:49:28 2010 UTC (2 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.130: +2 -1 lines
Diff to previous 1.130 (colored)

always supply an auxiliary vector for linux ELF processes.
static executables (such as newer versions of /sbin/ldconfig)
require this to work properly.  since static executables
also don't have a PT_PHDR entry, use the same heuristic as
linux does to provide a value for AT_PHDR in this case.

Revision 1.130 / (download) - annotate - [select for diffs], Sun May 2 05:30:20 2010 UTC (3 years ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.129: +5 -3 lines
Diff to previous 1.129 (colored)

Remove the nameidata from struct exec_package. It was used only for two
things: passing an argument to check_exec, which is better done explicitly,
and handing back the resolved pathname generated by namei, which we can
make an explicit slot for in struct exec_package instead. While here,
perform some related tidyup, and store the kernel-side copy of the path
to the executable as well as the pointer into userspace. (But the latter
should probably be removed in the future.)

Revision 1.129 / (download) - annotate - [select for diffs], Mon Dec 14 00:48:35 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

Merge from matt-nb5-mips64

Revision 1.128 / (download) - annotate - [select for diffs], Thu Dec 10 14:13:54 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.127: +14 -14 lines
Diff to previous 1.127 (colored)

Change u_long to vaddr_t/vsize_t in exec code where appropriate (mostly
involves setregs and vmcmds).  Should result in no code differences.

Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 15 23:46:02 2009 UTC (3 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jym-xensuspend-nbase
Changes since 1.126: +1 -3 lines
Diff to previous 1.126 (colored)

Don't include <sys/exec_aout.h>.  Let those who want it explicitly include it.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:10 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.125: +4 -9 lines
Diff to previous 1.125 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.125 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:28 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.124 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:57 2008 UTC (4 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored)

Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jan 20 10:15:50 2008 UTC (5 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.122: +1 -7 lines
Diff to previous 1.122 (colored)

Don't allocated the stackgap during exec (but do allocate 32 bytes
for 'stack grows up' systems for the _rtld interface).

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jan 3 14:36:57 2008 UTC (5 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.121: +1 -5 lines
Diff to previous 1.121 (colored)

- malloc -> kmem_alloc
- kill M_EXEC.

Revision 1.121 / (download) - annotate - [select for diffs], Wed Jan 2 19:44:36 2008 UTC (5 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.120: +6 -2 lines
Diff to previous 1.120 (colored)

use kmem_alloc instead of malloc.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Dec 28 17:14:50 2007 UTC (5 years, 4 months ago) by elad
Branch: MAIN
Changes since 1.119: +1 -2 lines
Diff to previous 1.119 (colored)

Provide 8 more bits of stack randomization, from the PaX author.

While here, don't make too much use of one random value, and call
arc4random() directly. Allows for the removal of 'ep_random' from the
exec_package.

Prompted by and okay christos@.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Dec 26 22:11:52 2007 UTC (5 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored)

Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]

For regular (non PIE) executables randomization is enabled for:
    1. The data segment
    2. The stack

For PIE executables(*) randomization is enabled for:
    1. The program itself
    2. All shared libraries
    3. The data segment
    4. The stack

(*) To generate a PIE executable:
    - compile everything with -fPIC
    - link with -shared-libgcc -Wl,-pie

This feature is experimental, and might change. To use selectively add
    options PAX_ASLR=0
in your kernel.

Currently we are using 12 bits for the stack, program, and data segment and
16 or 24 bits for mmap, depending on __LP64__.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Dec 3 02:06:58 2007 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

- add an elf aux vector entry for implementing $ORIGIN.
- the code to convert from a vnode to a path is commented out now until
  a better solution is implemented. Only absolute paths work for now
  (which is most of the cases).

requested by core

Revision 1.117 / (download) - annotate - [select for diffs], Sun Jun 24 20:35:37 2007 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored)

Use an elf note to handle pax arguments. This is a temporary solution to
avoid wasting OS flag bits. In the future we'll probably use fileassoc to
achieve this (once there is a way to make fileassoc persistent) or in the
shorter term libelf, so that we can add and remove the note on demand instead
of burning bits on each binary. Of course since this is a tool, this means
that we'll need to think about how to handle libelf...

Revision 1.116 / (download) - annotate - [select for diffs], Sun Apr 22 08:30:02 2007 UTC (6 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.115: +4 -4 lines
Diff to previous 1.115 (colored)

Change the way that emulations locate files within the emulation root to
  avoid having to allocate space in the 'stackgap'
  - which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
  the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
  during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
  search for absolute pathnames in the emulation root, if that fails it will
  retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
  of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
  relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
  inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
  the real root is returned instead (matching the behaviour of emul_lookup,
  but being a cheap comparison here) so that programs that scan "../.."
  looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
  CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
  TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Dec 20 11:35:29 2006 UTC (6 years, 5 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Remove the third argument from check_exec() and just check for ep_flags
in the exec_package to know if we need to use VERIEXEC_DIRECT or
VERIEXEC_INDIRECT.

Suggested by and okay yamt@

Revision 1.114 / (download) - annotate - [select for diffs], Wed Aug 30 11:35:21 2006 UTC (6 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base, netbsd-4-base
Branch point for: yamt-splraiseipl, newlock2, netbsd-4
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored)

Regen.

Revision 1.113 / (download) - annotate - [select for diffs], Sun May 14 21:38:18 2006 UTC (7 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored)

integrate kauth.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.111: +23 -23 lines
Diff to previous 1.111 (colored)

merge ktrace-lwp.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Jul 16 22:44:59 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.110: +1 -5 lines
Diff to previous 1.110 (colored)

Don't depend on #ifdef VERIFIED_EXEC

Revision 1.110 / (download) - annotate - [select for diffs], Mon Jul 11 20:15:26 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.109: +5 -1 lines
Diff to previous 1.109 (colored)

Split sys_execve() and add execve1() that does most of the work, and takes
as an argument a function that will retrieve an element of the pointer
arrays in user space.  This allows COMPAT_NETBSD32 to share the code for
the emulated version of execve(2), and fixes various issues that came from
the slow drift between the two implementations.

Note:  when splitting up a syscall function, I'll use two different ways
       of naming the resulting helper function.  If it stills does
       copyin/out operations, it will be named <syscall>1().  If it does
       not (as it was the case for get/setitimer), it will be named
       do<syscall>.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Jun 10 11:36:38 2005 UTC (7 years, 11 months ago) by tron
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored)

Include "sys/uio.h" instead of forward defining "uio_seg" which causes
a lint failure while building "libc".

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jun 10 05:10:13 2005 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.107: +12 -2 lines
Diff to previous 1.107 (colored)

Rework the coredump code to have no explicit knownledge of how coredump
i/o is done.  Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o.  This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.

Revision 1.107 / (download) - annotate - [select for diffs], Sun May 29 21:19:41 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Sprinkle const.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:01 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, matt-timespec, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.105: +40 -45 lines
Diff to previous 1.105 (colored)

de-__P

Revision 1.105 / (download) - annotate - [select for diffs], Sat May 1 22:42:51 2004 UTC (9 years ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

make STACKGAPLEN 4k, since struct statvfs is more than 2k.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:23 2004 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Feb 6 08:02:59 2004 UTC (9 years, 3 months ago) by junyoung
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Rename es_check in struct execsw to es_makecmds.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Dec 10 12:06:25 2003 UTC (9 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.101: +25 -2 lines
Diff to previous 1.101 (colored)

Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Aug 29 01:44:03 2003 UTC (9 years, 8 months ago) by junyoung
Branch: MAIN
Changes since 1.100: +1 -20 lines
Diff to previous 1.100 (colored)

Expand NEW_VMCMD() macro to a real function new_vmcmd() for the
non-debugging case as well, rather than expanding it inline. This saves
a bunch of kernel bits, e.g. 4kB from GENERIC on i386.

Revision 1.100 / (download) - annotate - [select for diffs], Fri Aug 8 18:54:16 2003 UTC (9 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.99: +4 -1 lines
Diff to previous 1.99 (colored)

- Add execsw es_setup_stack
- gc all the rest of the setup stack functions.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:03 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.98: +32 -3 lines
Diff to previous 1.98 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jul 8 06:49:19 2003 UTC (9 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.97: +6 -7 lines
Diff to previous 1.97 (colored)

prototype must not carry variable name

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:23 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.96: +13 -13 lines
Diff to previous 1.96 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:20 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.95: +14 -14 lines
Diff to previous 1.95 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.95 / (download) - annotate - [select for diffs], Thu Feb 27 01:58:56 2003 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.94: +1 -2 lines
Diff to previous 1.94 (colored)

Remove VMCMD_TOPDOWN since it's no longer.  Redo my last rework.  Move
VM_DEFAULT_ADDRESS from elf*_makecmds to elf*_load_file.  In load_file,
actually determine ahead of time how much space will be needed and pass
that to VM_DEFAULT_ADDRESS.  Now we have a relatistic starting address
so we can do the loading of psections normally with no extra topdown
code in load_psection.  Also, if there is a gap in betweeen psections
zero map an inaccessible region between (just like ld.elf_so does) to
avoid inadvertant mmaps in the gap.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Feb 26 21:18:23 2003 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.93: +1 -15 lines
Diff to previous 1.93 (colored)

Make elf32 load_file work properly with TOPDOWN by mapping psections in
reverse order.  Remove TOPDOWN support from VMCMDs since elf32 does the
right stuff now.  With these changes, VAX can now use TOPDOWN.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Feb 20 22:16:07 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.92: +18 -3 lines
Diff to previous 1.92 (colored)

Introduce "top down" memory management for mmap()ed allocations.  This
means that the dynamic linker gets mapped in at the top of available
user virtual memory (typically just below the stack), shared libraries
get mapped downwards from that point, and calls to mmap() that don't
specify a preferred address will get mapped in below those.

This means that the heap and the mmap()ed allocations will grow
towards each other, allowing one or the other to grow larger than
before.  Previously, the heap was limited to MAXDSIZ by the placement
of the dynamic linker (and the process's rlimits) and the space
available to mmap was hobbled by this reservation.

This is currently only enabled via an *option* for the i386 platform
(though other platforms are expected to follow).  Add "options
USE_TOPDOWN_VM" to your kernel config file, rerun config, and rebuild
your kernel to take advantage of this.

Note that the pmap_prefer() interface has not yet been modified to
play nicely with this, so those platforms require a bit more work
(most notably the sparc) before they can use this new memory
arrangement.

This change also introduces a VM_DEFAULT_ADDRESS() macro that picks
the appropriate default address based on the size of the allocation or
the size of the process's text segment accordingly.  Several drivers
and the SYSV SHM address assignment were changed to use this instead
of each one picking their own "default".

Revision 1.92 / (download) - annotate - [select for diffs], Mon Feb 3 00:21:42 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Specify VMCMD_FIXED in NEW_VMCMD() for flags instead of 0.  Fixes
a.out emulations on sparc.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:50 2003 UTC (10 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.90: +5 -1 lines
Diff to previous 1.90 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Jan 30 20:03:47 2003 UTC (10 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.89: +6 -5 lines
Diff to previous 1.89 (colored)

Two small changes to the ELF exec code:

(1) ELFNAME(load_file)() now takes a pointer to the entry point
offset, instead of taking a pointer to the entry point itself.  This
allows proper adjustment of the ultimate entry point at a higher level
if the object containing the entry point is moved before the exec is
finished.

(2) Introduce VMCMD_FIXED, which means the address at which a given
vmcmd describes a mapping is fixed (ie, should not be moved).  Don't
set this for entries pertaining to ld.so.

Also some minor comment/whitespace tweaks.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 18 09:53:18 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.88: +5 -4 lines
Diff to previous 1.88 (colored)

Merge the nathanw_sa branch.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Oct 29 12:31:25 2002 UTC (10 years, 6 months ago) by blymn
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.87: +8 -1 lines
Diff to previous 1.87 (colored)

Added support for fingerprinted executables aka verified exec

Revision 1.87 / (download) - annotate - [select for diffs], Mon Aug 26 21:09:02 2002 UTC (10 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

- pass struct proc to copyargs
- rename aux vector entries AT_{R,E}{U,G}ID from AT_SYUN_{R,}P{U,G}ID
- update new aux vector size.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 2 20:20:00 2002 UTC (11 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.85: +1 -5 lines
Diff to previous 1.85 (colored)

move emulation-specific sysctl hook from struct execsw to struct emul,
where it belongs

Revision 1.85 / (download) - annotate - [select for diffs], Tue Apr 2 20:18:06 2002 UTC (11 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

expose emul_search()

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 20 18:00:07 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.83: +2 -22 lines
Diff to previous 1.83 (colored)

kill PS_STRINGS, STACKGAPBASE_UNALIGNED, STACKGAPBASE

Revision 1.83 / (download) - annotate - [select for diffs], Wed Mar 20 00:26:33 2002 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.82: +8 -3 lines
Diff to previous 1.82 (colored)

add es_sysctl for emulation specific sysctls.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:32 2001 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll
Changes since 1.81: +5 -1 lines
Diff to previous 1.81 (colored)

Make the coredump routine exec-format/emulation specific.  Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 29 21:23:19 2001 UTC (11 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.80: +5 -5 lines
Diff to previous 1.80 (colored)

adjust to the new copyargs footprint

Revision 1.80 / (download) - annotate - [select for diffs], Sat Jul 14 02:08:30 2001 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.79: +4 -1 lines
Diff to previous 1.79 (colored)

- add exec_read_from and make exec_elf32 use it.
- add a macho probe function

Revision 1.79 / (download) - annotate - [select for diffs], Mon Apr 30 01:13:20 2001 UTC (12 years ago) by lukem
Branch: MAIN
Branch point for: kqueue
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

remove some lint

Revision 1.78 / (download) - annotate - [select for diffs], Wed Feb 14 18:21:42 2001 UTC (12 years, 3 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.77: +3 -1 lines
Diff to previous 1.77 (colored)

Support flexible process address space limits and bump kernel version number.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 22 06:42:31 2001 UTC (12 years, 4 months ago) by oki
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Fixed NEW_VMCMD used in one-line if-else with options DEBUG.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Dec 10 14:13:04 2000 UTC (12 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Bump stackgap size from 400 to 512.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Dec 8 19:42:12 2000 UTC (12 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.74: +10 -15 lines
Diff to previous 1.74 (colored)

add infrastructure to load emulations and their executable support dynamically
via LKM

Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 1 12:56:25 2000 UTC (12 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.73: +6 -2 lines
Diff to previous 1.73 (colored)

struct execsw: rename es_flags to es_prio, provide defines
EXECSW_PRIO_ANY, EXECSW_PRIO_FIRST, EXECSW_PRIO_LAST to mark
entry's priority

Revision 1.73 / (download) - annotate - [select for diffs], Tue Nov 21 00:37:56 2000 UTC (12 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.72: +20 -3 lines
Diff to previous 1.72 (colored)

restructure struct emul and execsw, in preparation to make emulations LKMable:
* move all exec-type specific information from struct emul to execsw[] and
  provide single struct emul per emulation
* elf:
  - kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
    per emulation and contains pointer to respective probe function
  - interp is allocated via MALLOC() rather than on stack
  - elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
  to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
  emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
  part of appropriate execsw[] entry
* constify couple of structures

Revision 1.72 / (download) - annotate - [select for diffs], Thu Sep 28 19:05:07 2000 UTC (12 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.71: +10 -1 lines
Diff to previous 1.71 (colored)

Add support for variable end of user stacks needed to support COMPAT_NETBSD32:

	`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.

	PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived
	from `vm_minsaddr'.

	Bump the kernel version number.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Sep 24 02:40:29 2000 UTC (12 years, 7 months ago) by sommerfeld
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Bump EXEC_DEFAULT_VMCMD_SETSIZE from 5 to 9, which appears to be the
typical number used by i386 dynamic elf binaries.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jul 13 01:24:04 2000 UTC (12 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.69: +13 -5 lines
Diff to previous 1.69 (colored)

Extend the vmcmd stuff a bit.  Add a flags field and define
VMCMD_BASE & VMCMD_RELATIVE.  This allows one to add vmcmds
which are relative to previous entries.  This is needed for
loading the VAX ld.elf_so

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jun 21 05:41:09 2000 UTC (12 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored)

Add vmcmd_readvn (which was the 2nd halt of vmcmd_map_readvn).

Revision 1.68 / (download) - annotate - [select for diffs], Thu Dec 30 15:46:16 1999 UTC (13 years, 4 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Added a 32-bit compatibility process flag.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:12 1998 UTC (15 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Merge with Lite2 + local changes

Revision 1.66 / (download) - annotate - [select for diffs], Wed Dec 3 20:02:29 1997 UTC (15 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +1 -7 lines
Diff to previous 1.65 (colored)

Don't conditionalize STACKGAPLEN on COMPAT_*.  Darn near everything uses
it now (including compat system calls for previous NetBSD releases),
and it doesn't hurt anything to always initialize it to non-zero.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Sep 11 23:02:35 1997 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)

Revision 1.64 / (download) - annotate - [select for diffs], Sat May 17 16:13:24 1997 UTC (16 years ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.63: +3 -10 lines
Diff to previous 1.63 (colored)

Undo previous change.

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 13 21:37:06 1997 UTC (16 years ago) by gwr
Branch: MAIN
Changes since 1.62: +10 -2 lines
Diff to previous 1.62 (colored)

In user mode code, define PS_STRINGS as __ps_strings (from crt0).

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 22 07:09:13 1997 UTC (16 years, 4 months ago) by mikel
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.61: +6 -1 lines
Diff to previous 1.61 (colored)

add multiple inclusion protection

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 22 10:19:16 1996 UTC (16 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

make struct exec_package's ep_name field be a _const_ char *.  It's set
directly from the syscall's program name argument, which is const, so must be
const itself to preserve const-ness.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 8 13:10:29 1996 UTC (16 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)

remove #include of <machine/exec.h> from exec.h and place it, as
a #include of <machine/aout_machdep.h>, in exec_aout.h.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:09 1996 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Filesystem prototype changes

Revision 1.58 / (download) - annotate - [select for diffs], Tue Nov 28 08:16:47 1995 UTC (17 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Setup the stack gap for COMPAT_HPUX, too.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 10 01:27:07 1995 UTC (17 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Add hooks for COMPAT_FREEBSD, from Noriyuki Soda.

Revision 1.56 / (download) - annotate - [select for diffs], Tue May 16 14:17:34 1995 UTC (18 years ago) by mycroft
Branch: MAIN
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored)

Change ps_{argv,env}str to char**.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 22 19:40:29 1995 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.54: +7 -13 lines
Diff to previous 1.54 (colored)

- new struct emul for OS emulations.
- deprecated exec_setup_fcn
- deprecated EMUL_???
- added sunos_machdep.c for the m68k ports.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Apr 7 22:34:11 1995 UTC (18 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored)

Add ep_sigcode and ep_esigcode fields to exec package structure.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Mar 26 20:24:06 1995 UTC (18 years, 2 months ago) by jtc
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

KERNEL -> _KERNEL

Revision 1.52 / (download) - annotate - [select for diffs], Wed Mar 8 00:51:42 1995 UTC (18 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

add COMPAT_OSF1 to list of things which need stack gap

Revision 1.51 / (download) - annotate - [select for diffs], Tue Feb 28 23:05:18 1995 UTC (18 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

linux compat needs stack space gap, too.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Dec 22 14:35:10 1994 UTC (18 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.49: +5 -3 lines
Diff to previous 1.49 (colored)

fix the STACKGAPBASE calculation.  fix from christos.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Dec 19 14:36:06 1994 UTC (18 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

fix a bug regarding stack-gap misalignment, pointed out by theo.
(fix suggested by him too, more or less.)

Revision 1.48 / (download) - annotate - [select for diffs], Mon Oct 24 05:32:19 1994 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.47: +12 -4 lines
Diff to previous 1.47 (colored)

change exec_setup_fcn() to be more useful (from christos)

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 20 04:27:44 1994 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.46: +3 -11 lines
Diff to previous 1.46 (colored)

update for new syscall args description mechanismcd

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 28 00:41:17 1994 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.45: +3 -4 lines
Diff to previous 1.45 (colored)

use STACKGAPBASE

Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 15 22:04:47 1994 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Need extra stack space for iBCS2 syscall conversion.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jul 16 06:32:47 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

move the inclusion of <machine/exec.h>

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jul 1 01:30:26 1994 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.42: +4 -48 lines
Diff to previous 1.42 (colored)

macros and "struct exec" in exec_aout.h now

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 29 06:44:04 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jun 28 22:18:15 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

add a new MID_

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 27 19:31:05 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

new standard, minimally intrusive ID format

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 22 03:43:09 1994 UTC (18 years, 11 months ago) by glass
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

stackgaplen applies to ultrix too..does it apply to svr4?

Revision 1.38 / (download) - annotate - [select for diffs], Fri May 27 08:44:12 1994 UTC (18 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

fname --> path

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 21 07:47:40 1994 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.36: +29 -27 lines
Diff to previous 1.36 (colored)

mostly update to Lite; some stuff left to do here.

Revision 1.36 / (download) - annotate - [select for diffs], Tue May 17 04:24:58 1994 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.35: +254 -1 lines
Diff to previous 1.35 (colored)

copyright foo

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 15 22:06:09 1994 UTC (19 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

Thought I had corrected this spelling error already.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 9 10:51:55 1994 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 (colored)

add vax mid value

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 16 01:21:36 1994 UTC (19 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored)

simplify error returns, and fix bugs

Revision 1.32 / (download) - annotate - [select for diffs], Sat Feb 5 02:23:30 1994 UTC (19 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

dtrt with exec header size

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 16 03:04:59 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

update for new exec

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 13 06:23:57 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored)

use exec_map

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 13 02:27:28 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 (colored)

EXEC_DEBUG -> DEBUG

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 12 20:15:11 1994 UTC (19 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

reserve pmax mid

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 9 15:49:41 1994 UTC (19 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

p_emu/ep_emul are u_char

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 8 18:12:28 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

now that NULLVP is used everyplace, we can use VREF again...

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 8 18:05:29 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored)

de-macroify kill_vmcmds()

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 8 16:04:03 1994 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored)

NULL --> NULLVP

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 8 15:50:05 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

use VREF() function rather than the macro; the latter barfs in this case

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 8 07:15:22 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

far reaching but relatively minor cleanup and slight reorg of exec code

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 12 19:19:03 1993 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

add per-process emulation variable
support for OMAGIC/NMAGIC executables
STACKGAP support needed by compatibility functions

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 2 20:08:19 1993 UTC (19 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored)

Defined exec header flag for dynamically linked executables and shared objects.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 10 21:27:35 1993 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

MID_PC532 -> MID_NS32532. All of these machines have 4K page sizes.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 5 01:34:11 1993 UTC (19 years, 8 months ago) by cgd
Branch: MAIN
Branch point for: magnum
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

there now exists an "exec switch".  break the a.out code into another
module, and tidy up the interface so that other object formats are
more easily supportable.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 1 08:56:03 1993 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)

MID_PC532 (NS32532 w/ 4K pagesize)

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 29 13:25:25 1993 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

add MID_SPARC

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 9 05:55:39 1993 UTC (19 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

MID_MACHINE values for 4K and 8K m68k machines. Please use.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 5 01:54:22 1993 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

add support for checking entry against max user address

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 18 06:51:21 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

convert magic numbers to network byte order, and attendent changes

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 15 05:35:41 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

get rid of extraneous MID_I486; theo said it was unnecessary

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 7 19:52:49 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 3 00:17:50 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

allow i386 to have a a_mid field, and define some numbers for it...

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 2 15:59:23 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

include sys/cdefs.h for __P definition

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 2 05:02:55 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

note that struct proc exists, so exec_vmcmd's function's args don't
cause the compiler to bitch.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 2 02:49:59 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

various cleanup; add protos for more things

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 2 00:20:17 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

do address mapping in a new way...
it works, but the code needs to be cleaned some...

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 1 01:32:48 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

add support for finding argv/env via PS_STRINGS

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 16:22:10 1993 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 19 01:22:35 1993 UTC (20 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Add consistent multiple-inclusion protection.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 15 05:48:22 1993 UTC (20 years, 1 month ago) by sef
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Added QMAGIC, which is a "compact demand load" format:  first page is
unmapped, and the a.out header is inside the text section.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>