Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/kern_xxx_12.c
RevisionDateAuthorComments
 1.18  23-Feb-2020  ad Don't bother with kernel_lock for kern_reboot().
 1.17  01-Jan-2020  thorpej branches: 1.17.2;
- Introduce a new global kernel variable "shutting_down" to indicate that
the system is shutting down or rebooting.
- Set this global in a new function called kern_reboot(), which is currently
just a basic wrapper around cpu_reboot().
- Call kern_reboot() instead of cpu_reboot() almost everywhere; a few
places remain where it's still called directly, but those are in early
pre-main() machdep locations.

Eventually, all of the various cpu_reboot() functions should be re-factored
and common functionality moved to kern_reboot(), but that's for another day.
 1.16  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.15  19-Jan-2011  tsutsui branches: 1.15.56; 1.15.58;
Remove includes <sys/mount.h> and <sys/sched.h> added for <sys/syscallargs.h>.
Now they are handled by $sysarghdrextra in sys/kern/syscalls.conf.
 1.14  23-Apr-2008  ad branches: 1.14.4; 1.14.24; 1.14.30;
Grab kernel_lock for cpu_reboot().
 1.13  20-Dec-2007  dsl branches: 1.13.6; 1.13.8;
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.12  09-Feb-2007  ad branches: 1.12.20; 1.12.28; 1.12.32;
Merge newlock2 to head.
 1.11  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.10  14-Nov-2006  elad Clean some KAUTH_GENERIC_ISSUSER usage in compat code.
 1.9  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.8  23-Jul-2006  ad branches: 1.8.4; 1.8.6;
Use the LWP cached credentials where sane.
 1.7  14-May-2006  elad integrate kauth.
 1.6  11-Dec-2005  christos branches: 1.6.4; 1.6.6; 1.6.8; 1.6.10; 1.6.12;
merge ktrace-lwp.
 1.5  07-Aug-2003  agc branches: 1.5.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.4  18-Jan-2003  thorpej branches: 1.4.2;
Merge the nathanw_sa branch.
 1.3  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.2  26-Mar-1997  gwr branches: 1.2.34; 1.2.36;
s/boot/cpu_reboot/
 1.1  09-Aug-1996  mrg Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
 1.2.36.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.34.4  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.2.34.3  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.2.34.2  14-Nov-2001  nathanw Catch up to -current.
 1.2.34.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.4.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1  03-Aug-2004  skrll Sync with HEAD
 1.5.16.4  21-Jan-2008  yamt sync with head
 1.5.16.3  26-Feb-2007  yamt sync with head.
 1.5.16.2  30-Dec-2006  yamt sync with head.
 1.5.16.1  21-Jun-2006  yamt sync with head.
 1.6.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.6.10.3  06-May-2006  christos - 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.
 1.6.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.6.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.6.8.2  11-Aug-2006  yamt sync with head
 1.6.8.1  24-May-2006  yamt sync with head.
 1.6.6.1  01-Jun-2006  kardel Sync with head.
 1.6.4.1  09-Sep-2006  rpaulo sync with head
 1.8.6.2  10-Dec-2006  yamt sync with head.
 1.8.6.1  22-Oct-2006  yamt sync with head
 1.8.4.2  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.8.4.1  18-Nov-2006  ad Sync with head.
 1.12.32.1  02-Jan-2008  bouyer Sync with HEAD
 1.12.28.1  26-Dec-2007  ad Sync with head.
 1.12.20.1  09-Jan-2008  matt sync with HEAD
 1.13.8.1  18-May-2008  yamt sync with head.
 1.13.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.14.30.1  06-Jun-2011  jruoho Sync with HEAD.
 1.14.24.1  05-Mar-2011  rmind sync with head
 1.14.4.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.14.4.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.15.58.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.58.1  10-Jun-2019  christos Sync with HEAD
 1.15.56.2  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.15.56.1  31-Mar-2018  pgoyette create the compat_12 module
 1.17.2.1  29-Feb-2020  ad Sync with head.

RSS XML Feed