#
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 ...
|
#
8beba9d0 |
| 12-May-2007 |
dsl <dsl@NetBSD.org> |
There is no need to use the stackgap for get/setrlimit.
|
#
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
|
#
f474dceb |
| 23-Jul-2006 |
ad <ad@NetBSD.org> |
Use the LWP cached credentials where sane.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
fb4b40b7 |
| 29-May-2005 |
christos <christos@NetBSD.org> |
- sprinkle const. - add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs an api change. - avoid variable shadowing.
|
#
4ca44982 |
| 19-Nov-2003 |
christos <christos@NetBSD.org> |
Don't include malloc.h if you are not going to use it.
|
#
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.
|
#
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)
|
#
13f211c5 |
| 28-Jun-2000 |
mrg <mrg@NetBSD.org> |
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
#
a82aeb55 |
| 30-Mar-2000 |
augustss <augustss@NetBSD.org> |
Kill register declarations.
|
#
52497e18 |
| 28-Sep-1999 |
bouyer <bouyer@NetBSD.org> |
Remplace kern.shortcorename sysctl with a more flexible sheme, core filename format, which allow to change the name of the core dump, and to relocate it in a directory. Credits to Bill Sommerfeld for
Remplace kern.shortcorename sysctl with a more flexible sheme, core filename format, which allow to change the name of the core dump, and to relocate it in a directory. Credits to Bill Sommerfeld for giving me the idea :) The default core filename format can be changed by options DEFCORENAME and/or kern.defcorename Create a new sysctl tree, proc, which holds per-process values (for now the corename format, and resources limits). Process is designed by its pid at the second level name. These values are inherited on fork, and the corename fomat is reset to defcorename on suid/sgid exec. Create a p_sugid() function, to take appropriate actions on suid/sgid exec (for now set the P_SUGID flag and reset the per-proc corename). Adjust dosetrlimit() to allow changing limits of one proc by another, with credential controls.
show more ...
|
#
2587de6a |
| 15-Oct-1997 |
mycroft <mycroft@NetBSD.org> |
Adjust u_int arguments of some system calls to int, to match user-level prototypes.
|
#
6cbf515e |
| 14-Mar-1996 |
christos <christos@NetBSD.org> |
Fix compiler warnings
|
#
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 ...
|