Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/exec_ecoff.c
RevisionDateAuthorComments
 1.34  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.33  06-Dec-2024  riastradh sys/kern/kern_exec.c, exec_*.c: Sort includes.

No functional change intended.
 1.32  20-Nov-2019  pgoyette 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.31  07-Mar-2014  christos branches: 1.31.30;
c99 initializers for struct execsw
 1.30  19-Sep-2013  christos exec modules need to be of the exec kind
 1.29  24-Apr-2011  rmind branches: 1.29.4; 1.29.14; 1.29.18;
- Replace few malloc(9) uses with kmem(9).
- Rename buf_malloc() to buf_alloc(), fix comments.
- Remove some unnecessary inclusions.
 1.28  19-Nov-2008  cegger branches: 1.28.8; 1.28.10;
make this compile
 1.27  19-Nov-2008  ad 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.26  11-Dec-2005  christos branches: 1.26.70; 1.26.74; 1.26.80; 1.26.84;
merge ktrace-lwp.
 1.25  26-Feb-2005  perry branches: 1.25.4;
nuke trailing whitespace
 1.24  29-Jan-2005  christos make sure that bss size > 0 before we add a vmcmd for it.
 1.23  08-Aug-2003  christos branches: 1.23.8; 1.23.10;
GC: exec_foo_setup_stack; use exec_setup_stack, and provide a way for
emulations to override it.
 1.22  29-Jun-2003  fvdl branches: 1.22.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.21  29-Jun-2003  simonb Fix 'struct lwp *' lossage.
 1.20  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.19  13-Oct-2002  chs fix previous: call vn_marktext() on the right vnode.
 1.18  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.17  27-Sep-2002  provos remove trailing \n in panic(). approved perry.
 1.16  12-Nov-2001  lukem branches: 1.16.10;
add RCSIDs
 1.15  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.14  21-Nov-2000  jdolecek branches: 1.14.2; 1.14.4; 1.14.8;
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
 1.13  01-Aug-2000  thorpej ANSI'ify.
 1.12  27-Jun-2000  mrg remove include of <vm/vm.h>
 1.11  11-Apr-2000  chs add a new function vn_marktext() for exec code to let others know
that the vnode is now being used as process text.
 1.10  27-Apr-1999  cgd branches: 1.10.2;
* don't have the [onz]magic setup functions set up the stack.
* add arguments describing the vnode and ecoff header of the executable
being set up to the [onz]magic setup functions.
* export the stack setup function and the [onz]magic setup functions.
* call the MD ecoff hook _before_ the [onz]magic and stack setup
functions, and bail out early if the MD hook sets up vmcmds.
 1.9  27-Sep-1996  cgd branches: 1.9.22; 1.9.24; 1.9.26;
clean up a comment (in code derived from the a.out code, where i cleaned
up the comment earlier).
 1.8  19-May-1996  jonathan Remove unused locals "struct ecoff_filehdr *efp = &execp->f;".
 1.7  09-May-1996  cgd update for new exec_ecoff.h header, clean up a bit (KNF + changes similar
to those made in the header).
 1.6  07-Mar-1996  christos - Make things compile cleanly after the NTP additions.
- Remove unused variables in exec_ecoff.c
 1.5  18-Aug-1994  cgd can't do ptr math on void *
 1.4  01-Aug-1994  glass fix for obreak problem from Arne H Juul <arnej@dsl.unit.no>
 1.3  29-Jun-1994  cgd branches: 1.3.2;
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.2  28-May-1994  glass more likely to work now, probably less knf...thats the next project
 1.1  27-May-1994  glass preliminary ecoff support, initially to support COMPAT_ULTRIX
 1.3.2.2  18-Aug-1994  mycroft update from trunk
 1.3.2.1  01-Aug-1994  cgd from trunk.
 1.9.26.1  30-Nov-1999  itojun bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.
 1.9.24.2  04-Jul-1999  chs after setting VTEXT on a vnode, flush any UBC mappings
to try to prevent unnecessary VAC aliases.
 1.9.24.1  21-Jun-1999  thorpej Sync w/ -current.
 1.9.22.1  21-Jun-1999  cgd pull up rev(s) 1.10 from trunk. (cgd)
 1.10.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.10.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.14.8.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.14.4.2  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.14.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.2.2  18-Oct-2002  nathanw Catch up to -current.
 1.14.2.1  14-Nov-2001  nathanw Catch up to -current.
 1.16.10.1  02-Oct-2003  tron Pull up revision 1.18-1.19 via patch (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.2.8  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.22.2.7  09-Feb-2005  skrll Adapt to branch.
 1.22.2.6  04-Feb-2005  skrll Sync with HEAD.
 1.22.2.5  21-Nov-2004  skrll Adapt to branch. Alpha kernels now compile.
 1.22.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.22.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.22.2.2  03-Aug-2004  skrll Sync with HEAD
 1.22.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.23.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.23.10.1  12-Feb-2005  yamt sync with head.
 1.23.8.1  29-Apr-2005  kent sync with -current
 1.25.4.1  21-Jun-2006  yamt sync with head.
 1.26.84.1  19-Jan-2009  skrll Sync with HEAD.
 1.26.80.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.26.74.1  04-May-2009  yamt sync with head.
 1.26.70.1  17-Jan-2009  mjf Sync with HEAD.
 1.28.10.1  06-Jun-2011  jruoho Sync with HEAD.
 1.28.8.1  31-May-2011  rmind sync with head
 1.29.18.1  18-May-2014  rmind sync with head
 1.29.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.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.31.30.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed