#
41aa5859 |
| 07-Sep-2021 |
riastradh <riastradh@NetBSD.org> |
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel stack disclosure. If the compiler can prove the memset redundant then it can optimize it awa
sys/compat: Memset zero before copyout.
Just in case of uninitialized padding which would lead to kernel stack disclosure. If the compiler can prove the memset redundant then it can optimize it away; otherwise better safe than sorry.
show more ...
|
#
d91f98a8 |
| 27-Jan-2019 |
pgoyette <pgoyette@NetBSD.org> |
Merge the [pgoyette-compat] branch
|
#
7e2790cf |
| 20-Dec-2007 |
dsl <dsl@NetBSD.org> |
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
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.
show more ...
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
168cd830 |
| 16-Nov-2006 |
christos <christos@NetBSD.org> |
__unused removal on arguments; approved by core.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
13f8d2ce |
| 04-Dec-2003 |
atatat <atatat@NetBSD.org> |
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be a
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be added (or removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to number (and back again) can now be discovered, instead of having to be hard coded. Adding new nodes to the tree is likewise much simpler -- the new infrastructure handles almost all the work for simple types, and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking), so all existing consumers of sysctl information should notice no difference.
PS - I'm sorry, but there's a distinct lack of documentation at the moment. I'm working on sysctl(3/8/9) right now, and I promise to watch out for buses.
show more ...
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
d5aece61 |
| 29-Jun-2003 |
fvdl <fvdl@NetBSD.org> |
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
960df3c8 |
| 28-Jun-2003 |
darrenr <darrenr@NetBSD.org> |
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 fu
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
show more ...
|
#
6762b37e |
| 18-Jan-2003 |
thorpej <thorpej@NetBSD.org> |
Merge the nathanw_sa branch.
|
#
dab6ef8b |
| 13-Nov-2001 |
lukem <lukem@NetBSD.org> |
add RCSIDs (including regeneration of files as appropriate)
|
#
ba40fcad |
| 14-Jul-2000 |
thorpej <thorpej@NetBSD.org> |
Sprinkle in some const.
|
#
13f211c5 |
| 28-Jun-2000 |
mrg <mrg@NetBSD.org> |
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
#
2f1fef39 |
| 28-Mar-2000 |
simonb <simonb@NetBSD.org> |
Centralise the declarations of cpu_model, machine, machine_arch, osrelease, and ostype and remove "extern char foo[];" (for hostname and domainname too).
Also delete redunctant decl of boottime in k
Centralise the declarations of cpu_model, machine, machine_arch, osrelease, and ostype and remove "extern char foo[];" (for hostname and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
show more ...
|
#
c9a23604 |
| 21-Feb-1996 |
cgd <cgd@NetBSD.org> |
fourth argument to kern_sysctl() must be a size_t *. simply passing a pointer to SCARG(uap, len) won't do, because that'd be an int *. copy the value into a size_t, and pass pointer to that.
|
#
ec397641 |
| 04-Feb-1996 |
christos <christos@NetBSD.org> |
kern_sysctl was missing process argument. Elimited -Wall warnings from the files that were affected
|
#
245f292f |
| 07-Oct-1995 |
mycroft <mycroft@NetBSD.org> |
Prefix names of system call implementation functions with `sys_'.
|
#
7160dfc8 |
| 19-Sep-1995 |
thorpej <thorpej@NetBSD.org> |
Make system calls conform to a standard prototype and bring those prototypes into scope.
|
#
dcb2a50b |
| 24-Jun-1995 |
christos <christos@NetBSD.org> |
- 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. - A
- 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.
show more ...
|