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


Revision 1.162 / (download) - annotate - [select for diffs], Tue Aug 1 21:26:28 2023 UTC (6 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

fix various typos in comments.

Revision 1.161 / (download) - annotate - [select for diffs], Fri Nov 26 08:06:12 2021 UTC (2 years, 3 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.160: +3 -1 lines
Diff to previous 1.160 (colored)

Fix anonymous memory object leak for sigcode.

- Repeating "modload compat_linux && /emul/linux/bin/ls && modunload compat_linux"
  will reproduce this problem.
- It cause in exec_sigcode_map(), anon-object for sigcode was created at
  first exec, but it remained even after exec_remove.
- Fixed that the anon-object for sigcode is created at exec_add(), and the
  anon-object reference is removed at exec_remove().
- sigobject_lock is no longer needed since it is locked by exec_lock.
- The compat_16 module rewrites the e_sigcode entry in emul_netbsd directly and
  does not use exec_add()/exec_remove(), so it needs to call
  sigcode_alloc()/sigcode_free() on its own.

Revision 1.160 / (download) - annotate - [select for diffs], Wed Nov 10 16:19:48 2021 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

s/funtion/function/ in comment.

Revision 1.153.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:20 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.153.2.2: +6 -5 lines
Diff to previous 1.153.2.2 (colored) to branchpoint 1.153 (colored) next main 1.154 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.153.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.153.2.1: +5 -7 lines
Diff to previous 1.153.2.1 (colored) to branchpoint 1.153 (colored)

Merge changes from current as of 20200406

Revision 1.157.2.2 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:53 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.157.2.1: +3 -1 lines
Diff to previous 1.157.2.1 (colored) to branchpoint 1.157 (colored) next main 1.158 (colored)

Sync with head.

Revision 1.159 / (download) - annotate - [select for diffs], Thu Jan 23 10:05:44 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2
Changes since 1.158: +3 -1 lines
Diff to previous 1.158 (colored)

exec_lock: declare it in the header, and mark with __cachline_aligned.

Revision 1.157.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:37 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored)

Sync with head.

Revision 1.158 / (download) - annotate - [select for diffs], Sun Jan 12 18:30:58 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base1
Changes since 1.157: +3 -3 lines
Diff to previous 1.157 (colored)

Tidy up the vnode locking around execve() on ELF images to acquire and
release the locks fewer times.  Proposed on tech-kern a very long time go.

Revision 1.157 / (download) - annotate - [select for diffs], Wed Nov 20 19:37:54 2019 UTC (4 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.156: +1 -5 lines
Diff to previous 1.156 (colored)

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !

Revision 1.156 / (download) - annotate - [select for diffs], Tue Sep 17 15:19:27 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.155: +4 -4 lines
Diff to previous 1.155 (colored)

Add a boolean argument to indicate if we have a path/true (execve) or an
fd/false (fexecve). This is needed to differentiate between them because
NULL/-1 can be readily passed from userland.

Revision 1.155 / (download) - annotate - [select for diffs], Sun Sep 15 20:26:27 2019 UTC (4 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.154: +5 -4 lines
Diff to previous 1.154 (colored)

- Adjust function signatures
- whitespace

Revision 1.153.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.153: +7 -1 lines
Diff to previous 1.153 (colored)

Sync with HEAD

Revision 1.154 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:50 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.153: +7 -1 lines
Diff to previous 1.153 (colored)

Merge the [pgoyette-compat] branch

Revision 1.152.2.2 / (download) - annotate - [select for diffs], Wed May 2 07:20:24 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.152.2.1: +4 -2 lines
Diff to previous 1.152.2.1 (colored) to branchpoint 1.152 (colored) next main 1.153 (colored)

Synch with HEAD

Revision 1.153 / (download) - annotate - [select for diffs], Fri Apr 27 18:33:24 2018 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.152: +4 -2 lines
Diff to previous 1.152 (colored)

Canonicalize the interpreter path in #! scripts since check_exec() expects
an absolute path, and we KASSERT if that's not the case later.

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Wed Mar 7 09:33:26 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.152: +7 -1 lines
Diff to previous 1.152 (colored)

Move the emul_find_root() and emul_find_interp() to a new file
subr_emul.c

The previous location was in exec_elf.c but that can get built
multiple times for a single kernel, so we could end up with
duplicate symbols.

Thanks to ,rg@ for the heads-up.

Revision 1.139.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.139.2.1: +8 -8 lines
Diff to previous 1.139.2.1 (colored) to branchpoint 1.139 (colored) next main 1.140 (colored)

update from HEAD

Revision 1.152 / (download) - annotate - [select for diffs], Tue Nov 7 19:44:05 2017 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.151: +1 -2 lines
Diff to previous 1.151 (colored)

Store full executable path in p->p_path as discussed in tech-kern.
This means that the full executable path is always available.

- exec_elf.c: use p->path to set AT_SUN_EXECNAME, and since this is
  always set, do so unconditionally.
- kern_exec.c: simplify pathexec, use kmem_strfree where appropriate
  and set p->p_path
- kern_exit.c: free p->p_path
- kern_fork.c: set p->p_path for the child.
- kern_proc.c: use p->p_path to return the executable pathname; the
  NULL check for p->p_path, should be a KASSERT?
- exec.h: gc ep_path, it is not used anymore
- param.h: bump version, 'struct proc' size change

TODO:
1. reference count the path string, to save copy at fork and free
   just before exec?
2. canonicalize the pathname by changing namei() to LOCKPARENT
   vnode and then using getcwd() on the parent directory?

Revision 1.146.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.2.3: +2 -1 lines
Diff to previous 1.146.2.3 (colored) to branchpoint 1.146 (colored) next main 1.147 (colored)

Sync with HEAD

Revision 1.151 / (download) - annotate - [select for diffs], Sat Aug 6 15:13:14 2016 UTC (7 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.150: +2 -1 lines
Diff to previous 1.150 (colored)

The way the kernel tries to prevent a userland process from allocating page
zero is hugely flawed. It is easy to demonstrate that one can trick UVM
into chosing a NULL hint after the user_va0_disable check from uvm_map.
Such a bypass allows kernel NULL pointer dereferences to be exploitable on
architectures with a shared userland<->kernel VA, like amd64.

Fix this by increasing the limit of the vm space made available for
userland processes. This way, UVM will never chose a NULL hint, since it
would be outside of the vm space.

The user_va0_disable sysctl still controls this feature.

Revision 1.146.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:39 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.2.2: +2 -2 lines
Diff to previous 1.146.2.2 (colored) to branchpoint 1.146 (colored)

Sync with HEAD

Revision 1.150 / (download) - annotate - [select for diffs], Sat Jan 23 14:03:48 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored)

expose less to userland.

Revision 1.146.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146.2.1: +1 -2 lines
Diff to previous 1.146.2.1 (colored) to branchpoint 1.146 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.149 / (download) - annotate - [select for diffs], Sat Oct 10 10:51:15 2015 UTC (8 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (colored)

Remove the mach entry.

Revision 1.145.4.1 / (download) - annotate - [select for diffs], Tue Apr 14 05:12:17 2015 UTC (8 years, 10 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.145: +2 -1 lines
Diff to previous 1.145 (colored) next main 1.146 (colored)

Pull up following revision(s) (requested by christos in ticket #686):
	sys/kern/kern_exec.c: revision 1.411
	sys/sys/exec.h: revision 1.147
PR/49287: Masao Uebayashi: Handle exec_script argument vector from the 32 ->
64 bit case. When execing a 64 bit shell from a 32 bit binary the argument
vector was still incorrect.

Revision 1.146.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.146: +2 -2 lines
Diff to previous 1.146 (colored)

Sync with HEAD

Revision 1.148 / (download) - annotate - [select for diffs], Sun Dec 14 23:49:28 2014 UTC (9 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.147: +1 -2 lines
Diff to previous 1.147 (colored)

remove ep_name, change the last reference to use ep_kname instead.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Dec 14 21:35:24 2014 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.146: +2 -1 lines
Diff to previous 1.146 (colored)

PR/49287: Masao Uebayashi: Handle exec_script argument vector from the 32 ->
64 bit case. When execing a 64 bit shell from a 32 bit binary the argument
vector was still incorrect.

XXX: Pullup 7

Revision 1.146 / (download) - annotate - [select for diffs], Fri Sep 5 05:42:50 2014 UTC (9 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.145: +6 -5 lines
Diff to previous 1.145 (colored)

Don't nest structure definitions.

Revision 1.139.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.139: +12 -5 lines
Diff to previous 1.139 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.133.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.133.4.1: +12 -5 lines
Diff to previous 1.133.4.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.139.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.139: +12 -5 lines
Diff to previous 1.139 (colored) next main 1.140 (colored)

sync with head

Revision 1.145 / (download) - annotate - [select for diffs], Thu Mar 6 09:30:37 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.144: +2 -1 lines
Diff to previous 1.144 (colored)

add ep_entryoffset to exec_package so one can calculate the relocabase
of an ET_DYN image.

Revision 1.144 / (download) - annotate - [select for diffs], Fri Jan 3 20:52:47 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.143: +2 -1 lines
Diff to previous 1.143 (colored)

Instead of generating all the 'note' sections twice (and hoping that the
  'fast path' size on the first path matches the actual size on the second)
  save all the notes (mostly the cpu registers for all the LWPs) in
  malloced memory on the first pass.
Sanity check that the number of memory segments matches written matches
  the count obtained earlier. If gcore() is used they could differ.
  (Not sure that returning ENOMEM is ideal, but it is better than a crash.)

Revision 1.143 / (download) - annotate - [select for diffs], Wed Jan 1 18:57:16 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.142: +7 -5 lines
Diff to previous 1.142 (colored)

Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.

Revision 1.142 / (download) - annotate - [select for diffs], Thu Nov 14 12:07:11 2013 UTC (10 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.141: +2 -1 lines
Diff to previous 1.141 (colored)

As discussed on tech-kern: make TOPDOWN-VM runtime selectable per process
(offer MD code or emulations to override it).

Revision 1.141 / (download) - annotate - [select for diffs], Wed Oct 30 23:32:30 2013 UTC (10 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.140: +2 -1 lines
Diff to previous 1.140 (colored)

Preserve NetBSD version from the ABI tag for compat use.

Revision 1.140 / (download) - annotate - [select for diffs], Tue Sep 10 21:30:21 2013 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.139: +2 -1 lines
Diff to previous 1.139 (colored)

Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.

Revision 1.139 / (download) - annotate - [select for diffs], Sun Aug 5 01:43:59 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
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 (11 years, 6 months 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 (11 years, 9 months 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 (11 years, 10 months 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.133.8.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:07 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.133.8.1: +10 -1 lines
Diff to previous 1.133.8.1 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored)

sync to latest -current.

Revision 1.133.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:51 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.133: +15 -1 lines
Diff to previous 1.133 (colored)

sync with head

Revision 1.134.2.1 / (download) - annotate - [select for diffs], Thu Apr 12 17:05:38 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.134: +10 -1 lines
Diff to previous 1.134 (colored) next main 1.135 (colored)

Pull up following revision(s) (requested by martin in ticket #175):
	sys/kern/kern_exit.c: revision 1.238
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.4
	tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.5
	sys/uvm/uvm_extern.h: revision 1.183
	lib/libc/gen/posix_spawn_fileactions.c: revision 1.2
	sys/kern/kern_exec.c: revision 1.348
	sys/kern/kern_exec.c: revision 1.349
	sys/compat/netbsd32/syscalls.master: revision 1.95
	sys/uvm/uvm_glue.c: revision 1.159
	sys/uvm/uvm_map.c: revision 1.317
	sys/compat/netbsd32/netbsd32.h: revision 1.95
	sys/kern/exec_elf.c: revision 1.38
	sys/sys/spawn.h: revision 1.2
	sys/sys/exec.h: revision 1.135
	sys/compat/netbsd32/netbsd32_execve.c: revision 1.34
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
Fix asynchronous posix_spawn child exit status (and test for it).

Revision 1.135 / (download) - annotate - [select for diffs], Sun Apr 8 11:27:45 2012 UTC (11 years, 10 months 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.133.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:48 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.133: +6 -1 lines
Diff to previous 1.133 (colored)

merge to -current.

Revision 1.134 / (download) - annotate - [select for diffs], Fri Feb 3 20:11:54 2012 UTC (12 years 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.132.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:10 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.132: +13 -1 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD.

Revision 1.129.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:23 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129.4.1: +18 -2 lines
Diff to previous 1.129.4.1 (colored) to branchpoint 1.129 (colored) next main 1.130 (colored)

sync with head

Revision 1.132.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:51 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.132: +13 -1 lines
Diff to previous 1.132 (colored) next main 1.133 (colored)

Sync with HEAD

Revision 1.133 / (download) - annotate - [select for diffs], Fri Mar 4 22:25:32 2011 UTC (12 years, 11 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 (13 years, 3 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.129.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:54 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.129.2.1: +1 -0 lines
Diff to previous 1.129.2.1 (colored) to branchpoint 1.129 (colored) next main 1.130 (colored)

Sync with HEAD (-D20101022).

Revision 1.123.10.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:45 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.123.10.4: +2 -1 lines
Diff to previous 1.123.10.4 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

sync with head

Revision 1.131 / (download) - annotate - [select for diffs], Sat Sep 11 20:49:28 2010 UTC (13 years, 5 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.129.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:07 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.129: +5 -3 lines
Diff to previous 1.129 (colored)

Sync with HEAD.

Revision 1.123.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:10 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.123.10.3: +5 -3 lines
Diff to previous 1.123.10.3 (colored) to branchpoint 1.123 (colored)

sync with head.

Revision 1.129.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:08 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.129: +5 -3 lines
Diff to previous 1.129 (colored)

sync with head

Revision 1.130 / (download) - annotate - [select for diffs], Sun May 2 05:30:20 2010 UTC (13 years, 10 months 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.123.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:41 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.123.10.2: +15 -15 lines
Diff to previous 1.123.10.2 (colored) to branchpoint 1.123 (colored)

sync with head

Revision 1.129 / (download) - annotate - [select for diffs], Mon Dec 14 00:48:35 2009 UTC (14 years, 2 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 (14 years, 2 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.124.10.1 / (download) - annotate - [select for diffs], Sun Aug 23 06:35:19 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.124: +13 -13 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Change various u_long to vaddr_t or vsize_t as appropriate.

Revision 1.123.10.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:32 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.123.10.1: +1 -3 lines
Diff to previous 1.123.10.1 (colored) to branchpoint 1.123 (colored)

sync with head.

Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 15 23:46:02 2009 UTC (14 years, 6 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.123.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:35 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.123: +6 -11 lines
Diff to previous 1.123 (colored)

sync with head.

Revision 1.124.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:30 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.124: +4 -11 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with HEAD.

Revision 1.123.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:40 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.123.6.1: +3 -10 lines
Diff to previous 1.123.6.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

Sync with HEAD.

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:35 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.124: +4 -11 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:10 2008 UTC (15 years, 3 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 (15 years, 3 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.123.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:04 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.123.14.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:24 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Sync with head.

Revision 1.123.6.1 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:21 2008 UTC (15 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored)

Sync with HEAD.

Revision 1.124 / (download) - annotate - [select for diffs], Wed Jul 2 17:28:57 2008 UTC (15 years, 7 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-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, 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-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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.117.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:10 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.117.8.1: +1 -7 lines
Diff to previous 1.117.8.1 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

sync with HEAD

Revision 1.117.14.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:23 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.117.14.1: +6 -12 lines
Diff to previous 1.117.14.1 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)

Sync with HEAD.

Revision 1.109.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:48 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.109.2.4: +6 -12 lines
Diff to previous 1.109.2.4 (colored) next main 1.110 (colored)

sync with head

Revision 1.118.6.3 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:44 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.118.6.2: +0 -6 lines
Diff to previous 1.118.6.2 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

Sync with HEAD

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jan 20 10:15:50 2008 UTC (16 years, 1 month 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.117.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:07 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.117: +7 -6 lines
Diff to previous 1.117 (colored)

sync with HEAD

Revision 1.118.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:55 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.118.6.1: +0 -4 lines
Diff to previous 1.118.6.1 (colored) to branchpoint 1.118 (colored)

Sync with HEAD

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jan 3 14:36:57 2008 UTC (16 years, 1 month 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.118.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:57:59 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.118: +6 -2 lines
Diff to previous 1.118 (colored)

Sync with HEAD

Revision 1.121 / (download) - annotate - [select for diffs], Wed Jan 2 19:44:36 2008 UTC (16 years, 1 month 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 (16 years, 2 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 (16 years, 2 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.117.14.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:31 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

Sync with HEAD.

Revision 1.109.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:53 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.109.2.3: +2 -1 lines
Diff to previous 1.109.2.3 (colored)

sync with head

Revision 1.117.6.1 / (download) - annotate - [select for diffs], Mon Dec 3 16:15:17 2007 UTC (16 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

Sync with HEAD.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Dec 3 02:06:58 2007 UTC (16 years, 2 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.109.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:11 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.109.2.2: +5 -4 lines
Diff to previous 1.109.2.2 (colored)

sync with head.

Revision 1.114.6.1.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:05:15 2007 UTC (16 years, 5 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.114.6.1: +2 -1 lines
Diff to previous 1.114.6.1 (colored) next main 1.114.6.2 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.115.6.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:09 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.115.6.1: +2 -1 lines
Diff to previous 1.115.6.1 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored)

Sync with head.

Revision 1.115.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:26 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.115: +5 -4 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

Sync with head.

Revision 1.114.6.2 / (download) - annotate - [select for diffs], Mon Jul 9 10:30:56 2007 UTC (16 years, 7 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.114.6.1: +2 -1 lines
Diff to previous 1.114.6.1 (colored) to branchpoint 1.114 (colored) next main 1.115 (colored)

Pull up following revision(s) (requested by christos in ticket #755):
	sys/sys/pax.h: revision 1.9
	sys/sys/exec_elf.h: revision 1.90
	usr.sbin/paxctl/paxctl.c: revision 1.2
	sys/kern/kern_pax.c: revision 1.16
	sys/sys/exec.h: revision 1.117
	sys/kern/exec_elf32.c: revision 1.124
	libexec/ld.elf_so/sysident.h: revision 1.14
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.117 / (download) - annotate - [select for diffs], Sun Jun 24 20:35:37 2007 UTC (16 years, 8 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.115.6.1 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:09 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.115: +4 -4 lines
Diff to previous 1.115 (colored)

Sync with head.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Mon May 7 10:56:13 2007 UTC (16 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.115: +4 -4 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

sync with head.

Revision 1.116 / (download) - annotate - [select for diffs], Sun Apr 22 08:30:02 2007 UTC (16 years, 10 months 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.114.2.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:23 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with head.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:55 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.109.2.1: +3 -2 lines
Diff to previous 1.109.2.1 (colored)

sync with head.

Revision 1.114.4.1 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:59 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

sync with head.

Revision 1.114.6.1 / (download) - annotate - [select for diffs], Thu Dec 21 14:25:45 2006 UTC (17 years, 2 months ago) by tron
Branch: netbsd-4
Branch point for: wrstuden-fixsa
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Pull up following revision(s) (requested by elad in ticket #294):
	sys/kern/exec_script.c: revision 1.53
	sys/kern/kern_exec.c: revision 1.233
	sys/sys/exec.h: revision 1.115
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.115 / (download) - annotate - [select for diffs], Wed Dec 20 11:35:29 2006 UTC (17 years, 2 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.112.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:41 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

sync with head

Revision 1.112.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:56 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.112.8.1: +2 -1 lines
Diff to previous 1.112.8.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

sync with head.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Aug 30 11:35:21 2006 UTC (17 years, 6 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.109.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:03 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.109: +27 -28 lines
Diff to previous 1.109 (colored)

sync with head.

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:26 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Sync with head.

Revision 1.112.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.112.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored)

sync with head.

Revision 1.113 / (download) - annotate - [select for diffs], Sun May 14 21:38:18 2006 UTC (17 years, 9 months 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.10.1 / (download) - annotate - [select for diffs], Sat May 6 23:32:33 2006 UTC (17 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (18 years, 2 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.97.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:12 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.8: +18 -7 lines
Diff to previous 1.97.2.8 (colored) next main 1.98 (colored)

Sync with HEAD. Here we go again...

Revision 1.106.4.1 / (download) - annotate - [select for diffs], Thu Sep 8 21:04:14 2005 UTC (18 years, 5 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.106: +1 -5 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Pull up following revision(s) (requested by elad in ticket #740):
	sys/sys/exec.h: revision 1.111
Don't depend on #ifdef VERIFIED_EXEC

Revision 1.111 / (download) - annotate - [select for diffs], Sat Jul 16 22:44:59 2005 UTC (18 years, 7 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 (18 years, 7 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 (18 years, 8 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 (18 years, 8 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 (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Sprinkle const.

Revision 1.105.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:37 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.105: +40 -45 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

sync with -current

Revision 1.105.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:55 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.105: +40 -45 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

sync with head.

Revision 1.97.2.8 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:05 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.7: +40 -45 lines
Diff to previous 1.97.2.7 (colored)

Sync with HEAD.

Revision 1.97.2.7 / (download) - annotate - [select for diffs], Fri Feb 4 07:09:29 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.6: +9 -9 lines
Diff to previous 1.97.2.6 (colored)

Adapt to branch.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:01 2005 UTC (19 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, 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.97.2.6 / (download) - annotate - [select for diffs], Mon Jan 24 08:59:40 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.5: +2 -2 lines
Diff to previous 1.97.2.5 (colored)

Adapt to branch.

Revision 1.97.2.5 / (download) - annotate - [select for diffs], Sun Nov 21 08:53:51 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.4: +2 -2 lines
Diff to previous 1.97.2.4 (colored)

Adapt to branch. Alpha kernels now compile.

Revision 1.97.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:45 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.3: +14 -14 lines
Diff to previous 1.97.2.3 (colored)

Fix the sync with head I botched.

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.2: +14 -14 lines
Diff to previous 1.97.2.2 (colored)

Sync with HEAD.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:26 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.97.2.1: +66 -31 lines
Diff to previous 1.97.2.1 (colored)

Sync with HEAD

Revision 1.105 / (download) - annotate - [select for diffs], Sat May 1 22:42:51 2004 UTC (19 years, 10 months 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 (20 years 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 (20 years 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 (20 years, 2 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 (20 years, 6 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 (20 years, 6 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 (20 years, 6 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 (20 years, 7 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.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:14 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.97: +14 -14 lines
Diff to previous 1.97 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:23 2003 UTC (20 years, 8 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 (20 years, 8 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 (21 years 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 (21 years 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 (21 years 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 (21 years 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 (21 years, 1 month 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 (21 years, 1 month 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 (21 years, 1 month 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.78.2.9 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:25 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.78.2.8: +7 -0 lines
Diff to previous 1.78.2.8 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Catch up to -current

Revision 1.88 / (download) - annotate - [select for diffs], Tue Oct 29 12:31:25 2002 UTC (21 years, 4 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.79.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:49:54 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.79.2.3: +5 -5 lines
Diff to previous 1.79.2.3 (colored) next main 1.80 (colored)

sync kqueue branch with HEAD

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Thu Aug 29 00:56:58 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

catch up with -current.

Revision 1.78.2.8 / (download) - annotate - [select for diffs], Tue Aug 27 23:48:23 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.7: +4 -4 lines
Diff to previous 1.78.2.7 (colored) to branchpoint 1.78 (colored)

Catch up to -current.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Aug 26 21:09:02 2002 UTC (21 years, 6 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.79.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:55 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.79.2.2: +6 -24 lines
Diff to previous 1.79.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.78.2.7 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:29 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.6: +1 -4 lines
Diff to previous 1.78.2.6 (colored) to branchpoint 1.78 (colored)

Catch up to -current.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 2 20:20:00 2002 UTC (21 years, 11 months 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 (21 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

expose emul_search()

Revision 1.78.2.6 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:10 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.5: +9 -24 lines
Diff to previous 1.78.2.5 (colored) to branchpoint 1.78 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.84 / (download) - annotate - [select for diffs], Wed Mar 20 18:00:07 2002 UTC (21 years, 11 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 (21 years, 11 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.79.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:40 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.79.2.1: +5 -1 lines
Diff to previous 1.79.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.78.2.5 / (download) - annotate - [select for diffs], Wed Jan 9 02:56:12 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.4: +2 -2 lines
Diff to previous 1.78.2.4 (colored) to branchpoint 1.78 (colored)

Adapt new coredump interface to LWPs.

Revision 1.78.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:41 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.3: +5 -1 lines
Diff to previous 1.78.2.3 (colored) to branchpoint 1.78 (colored)

Catch up to -current.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:32 2001 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
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.78.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:03 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.2: +8 -5 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored)

Catch up with -current.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:14:04 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.79: +8 -5 lines
Diff to previous 1.79 (colored)

update to -current

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 29 21:23:19 2001 UTC (22 years, 7 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 (22 years, 7 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.78.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:45 2001 UTC (22 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78.2.1: +2 -2 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored)

Catch up to -current.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Apr 30 01:13:20 2001 UTC (22 years, 10 months 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.67.14.6 / (download) - annotate - [select for diffs], Mon Mar 12 13:32:04 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67.14.5: +3 -1 lines
Diff to previous 1.67.14.5 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:50:02 2001 UTC (22 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.78: +4 -3 lines
Diff to previous 1.78 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Feb 14 18:21:42 2001 UTC (23 years 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.67.14.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:37 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67.14.4: +3 -3 lines
Diff to previous 1.67.14.4 (colored) to branchpoint 1.67 (colored)

Sync with HEAD.

Revision 1.68.4.4 / (download) - annotate - [select for diffs], Sat Feb 3 20:00:02 2001 UTC (23 years ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.68.4.3: +3 -3 lines
Diff to previous 1.68.4.3 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Pull up revision 1.77 (requested by oki):
  Correct macro expansions of NEW_VMCMD and NEW_VMCMD2 (under DEBUG)
  to not contain ``;'' at the end.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Jan 22 06:42:31 2001 UTC (23 years, 1 month 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.67.14.4 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:40 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67.14.3: +10 -15 lines
Diff to previous 1.67.14.3 (colored) to branchpoint 1.67 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.76 / (download) - annotate - [select for diffs], Sun Dec 10 14:13:04 2000 UTC (23 years, 2 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 (23 years, 2 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.67.14.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:19:42 2000 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67.14.2: +5 -1 lines
Diff to previous 1.67.14.2 (colored) to branchpoint 1.67 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 1 12:56:25 2000 UTC (23 years, 3 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.67.14.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:37 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67.14.1: +20 -3 lines
Diff to previous 1.67.14.1 (colored) to branchpoint 1.67 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Nov 21 00:37:56 2000 UTC (23 years, 3 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.67.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:30 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.67: +25 -6 lines
Diff to previous 1.67 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.68.4.3 / (download) - annotate - [select for diffs], Fri Nov 3 20:01:37 2000 UTC (23 years, 3 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2
Changes since 1.68.4.2: +14 -6 lines
Diff to previous 1.68.4.2 (colored) to branchpoint 1.68 (colored)

Pullup 1.69-1.71 [matt]:
Add vmcmd_readvn (which was the 2nd halt of vmcmd_map_readvn).
=====
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 [releng: and new i386 ld.elf_so]
=====
Bump EXEC_DEFAULT_VMCMD_SETSIZE from 5 to 9, which appears to be the
typical number used by i386 dynamic elf binaries.

Revision 1.68.4.2 / (download) - annotate - [select for diffs], Wed Oct 18 16:23:59 2000 UTC (23 years, 4 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA
Changes since 1.68.4.1: +10 -1 lines
Diff to previous 1.68.4.1 (colored) to branchpoint 1.68 (colored)

Pullup by patch [eeh]:
Support userspace at multiple addresses by making PSSTRINGS variable (using
p_psstr), and fix stackgap_init() appropriately.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Sep 28 19:05:07 2000 UTC (23 years, 5 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 (23 years, 5 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 (23 years, 7 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.68.4.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:26:12 2000 UTC (23 years, 8 months ago) by matt
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored)

Add vmcmd_readvn vmcmd.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jun 21 05:41:09 2000 UTC (23 years, 8 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 (24 years, 2 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 (26 years 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.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:52 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +1 -10 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:03 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +71 -1 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.66 / (download) - annotate - [select for diffs], Wed Dec 3 20:02:29 1997 UTC (26 years, 3 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.64.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:51:29 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Sep 11 23:02:35 1997 UTC (26 years, 5 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 (26 years, 9 months 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 (26 years, 9 months 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 (27 years, 1 month 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 (27 years, 2 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 (27 years, 4 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 (28 years 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 (28 years, 3 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 (28 years, 4 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 (28 years, 9 months 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 (28 years, 10 months 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 (28 years, 10 months 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 (28 years, 11 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 (28 years, 11 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 (29 years 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 (29 years, 2 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 (29 years, 2 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 (29 years, 4 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 (29 years, 4 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 (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.45: +3 -4 lines
Diff to previous 1.45 (colored)

use STACKGAPBASE

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Mon Aug 15 22:05:04 1994 UTC (29 years, 6 months ago) by mycroft
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.43.2.1: +2 -2 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

update from trunk

Revision 1.45 / (download) - annotate - [select for diffs], Mon Aug 15 22:04:47 1994 UTC (29 years, 6 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.43.2.1 / (download) - annotate - [select for diffs], Sat Jul 16 06:44:26 1994 UTC (29 years, 7 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

update from trunk

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jul 16 06:32:47 1994 UTC (29 years, 7 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 (29 years, 8 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 (29 years, 8 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 (29 years, 8 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 (29 years, 8 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 (29 years, 8 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 (29 years, 9 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 (29 years, 9 months 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 (29 years, 9 months 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 (29 years, 11 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 (29 years, 11 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 (30 years 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 (30 years 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28 (colored)

EXEC_DEBUG -> DEBUG

Revision 1.18.2.8 / (download) - annotate - [select for diffs], Wed Jan 12 20:16:35 1994 UTC (30 years, 1 month ago) by deraadt
Branch: magnum
Changes since 1.18.2.7: +1 -1 lines
Diff to previous 1.18.2.7 (colored) next main 1.19 (colored)

reserve pmax mid

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 12 20:15:11 1994 UTC (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 1 month 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 (30 years, 2 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.18.2.7 / (download) - annotate - [select for diffs], Sat Nov 27 20:00:26 1993 UTC (30 years, 3 months ago) by mycroft
Branch: magnum
Changes since 1.18.2.6: +1 -1 lines
Diff to previous 1.18.2.6 (colored)

Fix comment on QMAGIC def.

Revision 1.18.2.6 / (download) - annotate - [select for diffs], Fri Nov 26 12:23:12 1993 UTC (30 years, 3 months ago) by deraadt
Branch: magnum
Changes since 1.18.2.5: +1 -1 lines
Diff to previous 1.18.2.5 (colored)

STACKGAPLEN is the amount of space to leave between sigtramp and args.
this gap is used by emulation code. Normally it is 0 so you need not
worry about it.

Revision 1.18.2.5 / (download) - annotate - [select for diffs], Fri Nov 26 11:30:01 1993 UTC (30 years, 3 months ago) by deraadt
Branch: magnum
Changes since 1.18.2.4: +1 -1 lines
Diff to previous 1.18.2.4 (colored)

KNFify

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Wed Nov 10 06:34:19 1993 UTC (30 years, 3 months ago) by deraadt
Branch: magnum
Changes since 1.18.2.3: +1 -1 lines
Diff to previous 1.18.2.3 (colored)

set/reset emulation environment at the right times
keep arg buffer around for later use

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Fri Oct 15 06:25:54 1993 UTC (30 years, 4 months ago) by deraadt
Branch: magnum
Changes since 1.18.2.2: +1 -1 lines
Diff to previous 1.18.2.2 (colored)

vmcmd_map_readvn() prototype, and #include <machine/exec.h>, where __LDPGSZ
is defined.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Wed Oct 6 12:22:46 1993 UTC (30 years, 4 months ago) by mycroft
Branch: magnum
Changes since 1.18.2.1: +1 -1 lines
Diff to previous 1.18.2.1 (colored)

Merge changes from trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 2 20:08:19 1993 UTC (30 years, 5 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.18.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 18:34:51 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

kernel.h:  from 4.4:  Several things moved to gmon.h.  New stathz and profhz.
proc.h:  from 4.4:  New SPROFIL.
resource.h:  from 4.4:  New struct loadavg.  averunnable and avenrun moved
here.
systm.h:  from 4.4:  Nuke startrtclock() and enablertclock().  Add initclocks()
and cpu_initclocks().  Rename gatherstats() to statclock().
Incorporate changes from main branch.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 10 21:27:35 1993 UTC (30 years, 5 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 (30 years, 6 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 (30 years, 6 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 (30 years, 6 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 (30 years, 6 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 (30 years, 8 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 (30 years, 8 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 (30 years, 8 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 (30 years, 8 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 (30 years, 9 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 (30 years, 9 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 (30 years, 9 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 (30 years, 9 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 (30 years, 9 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 (30 years, 9 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 (30 years, 9 months 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 (30 years, 10 months 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 (30 years, 10 months 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.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 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>