Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/kern_exit_43.c
RevisionDateAuthorComments
 1.23  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.22  04-Nov-2009  rmind branches: 1.22.62; 1.22.64;
do_sys_wait(): fix previous by checking for ru != NULL. Noticed by
Onno van der Linden. Also, remove redundant arguments (seems that
was_zombie was not used since rev 1.177 ?).
 1.21  20-Dec-2007  dsl branches: 1.21.10; 1.21.12;
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
 1.20  19-Oct-2007  ad branches: 1.20.4; 1.20.8;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.19  07-May-2007  dsl branches: 1.19.6; 1.19.8; 1.19.12;
Split sys_wait4() so that compat code can fiddle with the returned 'status'
and 'rusage' without having to copy data to/from stackgap buffers.
The old split (find_stopped_child) could be removed.
amd64 seems to run netbsd32, linux and linux32 emulations. sparc64 compiles.
 1.18  04-Mar-2007  christos branches: 1.18.2; 1.18.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17  09-Feb-2007  ad branches: 1.17.2;
Merge newlock2 to head.
 1.16  29-Jan-2007  hubertf Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
 1.15  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.14  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.13  11-Dec-2005  christos branches: 1.13.20; 1.13.22;
merge ktrace-lwp.
 1.12  19-Nov-2003  christos branches: 1.12.16;
Don't include malloc.h if you are not going to use it.
 1.11  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.10  18-Jan-2003  thorpej branches: 1.10.2;
Merge the nathanw_sa branch.
 1.9  25-Sep-2002  thorpej Don't include <sys/map.h>.
 1.8  16-Mar-2002  christos make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
 1.7  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.6  28-Jun-2000  mrg branches: 1.6.2; 1.6.4;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.5  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.4  03-Sep-1997  jonathan branches: 1.4.18;
machine/psl.h is deprecated; move #include <machine/psl.h> inside #ifdef m68k.
 1.3  07-Oct-1995  mycroft branches: 1.3.14;
Prefix names of system call implementation functions with `sys_'.
 1.2  29-Sep-1995  thorpej Fix the declaration of compat_43_wait() (int * -> register_t *), pointed
out by Chris Demetriou.
 1.1  24-Jun-1995  christos - Extracted all compat routines from the kern directory and moved here.
- Created compat_util.c and compat_util.h to be used by the compatibility
modules, so they don't duplicate the same code.
- Added prototypes to the stackgap allocation routines.
 1.3.14.1  04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4.18.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.6.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.6.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.2.6  18-Oct-2002  nathanw Catch up to -current.
 1.6.2.5  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.6.2.4  29-May-2002  nathanw #include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
 1.6.2.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.6.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.10.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.2.1  03-Aug-2004  skrll Sync with HEAD
 1.12.16.4  21-Jan-2008  yamt sync with head
 1.12.16.3  27-Oct-2007  yamt sync with head.
 1.12.16.2  03-Sep-2007  yamt sync with head.
 1.12.16.1  26-Feb-2007  yamt sync with head.
 1.13.22.2  10-Dec-2006  yamt sync with head.
 1.13.22.1  22-Oct-2006  yamt sync with head
 1.13.20.3  01-Feb-2007  ad Sync with head.
 1.13.20.2  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.13.20.1  18-Nov-2006  ad Sync with head.
 1.17.2.2  17-May-2007  yamt sync with head.
 1.17.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.18.4.1  11-Jul-2007  mjf Sync with head.
 1.18.2.2  23-Oct-2007  ad Sync with head.
 1.18.2.1  27-May-2007  ad Sync with head.
 1.19.12.1  25-Oct-2007  bouyer Sync with HEAD.
 1.19.8.2  09-Jan-2008  matt sync with HEAD
 1.19.8.1  06-Nov-2007  matt sync with HEAD
 1.19.6.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.20.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.20.4.1  26-Dec-2007  ad Sync with head.
 1.21.12.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.21.12.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.21.10.1  11-Mar-2010  yamt sync with head
 1.22.64.1  10-Jun-2019  christos Sync with HEAD
 1.22.62.2  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.22.62.1  17-Apr-2018  pgoyette First pass at compat modules for 4.3BSD, NetBSD-0.9, and NetBSD-1.0

XXX Still need to deal with the sysctl stuff and other code shared
XXX between 09 and 43

RSS XML Feed