Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/exec_aout.c
RevisionDateAuthorComments
 1.43  06-Dec-2024  riastradh sys/kern/kern_exec.c, exec_*.c: Sprinkle SET_ERROR dtrace probes.

PR kern/58378: Kernel error code origination lacks dtrace probes
 1.42  06-Dec-2024  riastradh sys/kern/kern_exec.c, exec_*.c: Sort includes.

No functional change intended.
 1.41  20-Nov-2019  pgoyette branches: 1.41.32;
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 !
 1.40  07-Mar-2014  matt branches: 1.40.30;
Remove spurious .
 1.39  07-Mar-2014  christos c99 initializers for struct execsw
 1.38  25-Jan-2014  christos kill the topdown flag only if we succeed.
 1.37  25-Jan-2014  christos a.out binaries can't handle topdown.
 1.36  19-Sep-2013  christos exec modules need to be of the exec kind
 1.35  24-Apr-2011  rmind branches: 1.35.4; 1.35.14; 1.35.18;
- Replace few malloc(9) uses with kmem(9).
- Rename buf_malloc() to buf_alloc(), fix comments.
- Remove some unnecessary inclusions.
 1.34  19-Nov-2008  ad branches: 1.34.8; 1.34.10;
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
 1.33  11-Dec-2005  christos branches: 1.33.70; 1.33.74; 1.33.80; 1.33.84;
merge ktrace-lwp.
 1.32  26-Feb-2005  perry branches: 1.32.4;
nuke trailing whitespace
 1.31  13-Feb-2004  wiz branches: 1.31.8; 1.31.10;
Uppercase CPU, plural is CPUs.
 1.30  08-Aug-2003  christos GC: exec_foo_setup_stack; use exec_setup_stack, and provide a way for
emulations to override it.
 1.29  29-Jun-2003  fvdl branches: 1.29.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.28  28-Jun-2003  darrenr 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
 1.27  10-Dec-2002  thorpej Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.
 1.26  10-Dec-2002  thorpej Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
 1.25  05-Oct-2002  chs count executable image pages as executable for vm-usage purposes.
also, always do the VTEXT vs. v_writecount mutual exclusion
(which we previously skipped if the text or data segment was empty).
 1.24  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.23  29-Aug-2002  chs only create a vmcmd for the BSS if there is any BSS. fixes PR 17834.
 1.22  12-Nov-2001  lukem branches: 1.22.8; 1.22.10;
add RCSIDs
 1.21  30-Oct-2001  thorpej - Add a new vnode flag VEXECMAP, which indicates that a vnode has
executable mappings. Stop overloading VTEXT for this purpose (VTEXT
also has another meaning).
- Rename vn_marktext() to vn_markexec(), and use it when executable
mappings of a vnode are established.
- In places where we want to set VTEXT, set it in v_flag directly, rather
than making a function call to do this (it no longer makes sense to
use a function call, since we no longer overload VTEXT with VEXECMAP's
meaning).

VEXECMAP suggested by Chuq Silvers.
 1.20  14-Nov-2000  thorpej branches: 1.20.2; 1.20.4; 1.20.8;
Use round_page() instead of roundup(..., NBPG).
 1.19  01-Aug-2000  thorpej ANSI'ify.
 1.18  27-Jun-2000  mrg remove include of <vm/vm.h>
 1.17  13-Jun-2000  chs branches: 1.17.2;
round the sizes of mapped text and data segments to PAGE_SIZE.
fixes PR 10079.
 1.16  11-Apr-2000  chs branches: 1.16.2;
add a new function vn_marktext() for exec code to let others know
that the vnode is now being used as process text.
 1.15  26-Sep-1996  cgd branches: 1.15.24; 1.15.28;
fix some typos and clean up some comments.
 1.14  04-Feb-1996  christos First pass at prototyping
 1.13  01-Aug-1994  pk See to it that `vm_tsize' and `vm_dsize' get set up properly for
OMAGIC binaries, so obreak(2) doesn't get confused.
 1.12  05-Jul-1994  glass branches: 1.12.2;
multiple include of exec.h
 1.11  01-Jul-1994  deraadt exec_aout.h not needed
 1.10  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.9  28-Jan-1994  jtc Fix spelling error in Copyright notice
 1.8  16-Jan-1994  cgd casting for exec_package field changes
 1.7  13-Jan-1994  cgd trim extra debugging code, for now
 1.6  08-Jan-1994  cgd de-macroify kill_vmcmds()
 1.5  08-Jan-1994  mycroft Use NULLVP, just for Correctness (tm).
 1.4  08-Jan-1994  mycroft Trivial stylistic change for consistency.
 1.3  08-Jan-1994  cgd far reaching but relatively minor cleanup and slight reorg of exec code
 1.2  12-Dec-1993  deraadt support OMAGIC/NMAGIC a.out's
cannonicalize #includes
change VTEXT check
(this stuff comes from the magnum branch)
 1.1  05-Sep-1993  cgd branches: 1.1.2;
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.
 1.1.2.8  14-Nov-1993  mycroft Canonicalize all #includes.
 1.1.2.7  27-Oct-1993  mycroft Get rid of VTEXT check and only check writecount.
 1.1.2.6  26-Oct-1993  mycroft Correct test for VTEXT flag.
 1.1.2.5  17-Oct-1993  deraadt for OMAGIC and NMAGIC:
round datasegend/bssstart boundary to NBPG, not __LDPGSZ.
Else, a page inbetween doesn't get mapped...
 1.1.2.4  16-Oct-1993  mycroft OMAGIC executables really do load at USRTEXT.
 1.1.2.3  15-Oct-1993  mycroft Add support for OMAGIC executables. Abstract stack setup into a separate
function.
 1.1.2.2  15-Oct-1993  mycroft Nuke a spurious comment that does not apply to NMAGIC executables.
 1.1.2.1  15-Oct-1993  deraadt Add NMAGIC support. OMAGIC should be trivial.
 1.12.2.1  01-Aug-1994  cgd from trunk
 1.15.28.2  22-Nov-2000  bouyer Sync with HEAD.
 1.15.28.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.15.24.1  04-Jul-1999  chs after setting VTEXT on a vnode, flush any UBC mappings
to try to prevent unnecessary VAC aliases.
 1.16.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.17.2.1  04-Sep-2002  itojun pullup sys/kern/exec_aout.c 1.23 (chs)

only create a vmcmd for the BSS if there is any BSS. fixes PR 17834.
 1.20.8.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.20.4.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.20.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.20.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.20.2.4  11-Dec-2002  thorpej Sync with HEAD.
 1.20.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.20.2.2  17-Sep-2002  nathanw Catch up to -current.
 1.20.2.1  14-Nov-2001  nathanw Catch up to -current.
 1.22.10.3  02-Oct-2003  tron Pull up revision 1.25 (requested by junyoung in ticket #1488):
count executable image pages as executable for vm-usage purposes.
also, always do the VTEXT vs. v_writecount mutual exclusion
(which we previously skipped if the text or data segment was empty).
 1.22.10.2  27-Sep-2003  tron Pull up revision 1.24 (requested by junyoung in ticket #1466):
remove trailing \n in panic(). approved perry.
 1.22.10.1  01-Sep-2002  lukem Pull up revision 1.23 (requested by chuq in ticket #745):
only create a vmcmd for the BSS if there is any BSS. fixes PR 17834.
 1.22.8.1  31-Aug-2002  gehenna catch up with -current.
 1.29.2.6  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.29.2.5  04-Feb-2005  skrll Adapt to branch.
 1.29.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.29.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.29.2.2  03-Aug-2004  skrll Sync with HEAD
 1.29.2.1  02-Jul-2003  darrenr 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.
 1.31.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.31.8.1  29-Apr-2005  kent sync with -current
 1.32.4.1  21-Jun-2006  yamt sync with head.
 1.33.84.1  19-Jan-2009  skrll Sync with HEAD.
 1.33.80.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.33.74.1  04-May-2009  yamt sync with head.
 1.33.70.1  17-Jan-2009  mjf Sync with HEAD.
 1.34.10.1  06-Jun-2011  jruoho Sync with HEAD.
 1.34.8.1  31-May-2011  rmind sync with head
 1.35.18.1  18-May-2014  rmind sync with head
 1.35.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.35.4.1  22-May-2014  yamt 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")
 1.40.30.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.41.32.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed