#
e7e75ecf |
| 05-Dec-2021 |
msaitoh <msaitoh@NetBSD.org> |
s/sytle/style/ in comment.
|
#
d50c96bb |
| 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 ...
|
#
480c601a |
| 15-Oct-2020 |
rin <rin@NetBSD.org> |
wait4(2): make error paths match with that of native wait4(2):
https://nxr.netbsd.org/xref/src/sys/kern/kern_exit.c#720
|
#
db6f0528 |
| 23-Sep-2016 |
skrll <skrll@NetBSD.org> |
Add netbsd32_clock_getcpuclockid2 and netbsd32_wait6 functions
|
#
54953f15 |
| 03-Nov-2012 |
njoly <njoly@NetBSD.org> |
Move rusage computation to a new getrusage1() function. Adjust all compat/emulations to make use of it.
|
#
4c1098f5 |
| 04-Nov-2009 |
rmind <rmind@NetBSD.org> |
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 ?).
|
#
461a86f9 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
c2b95373 |
| 29-May-2008 |
mrg <mrg@NetBSD.org> |
remove clause #3 from my license where there are no other copyright holders involved.
|
#
284c2b9a |
| 24-Apr-2008 |
ad <ad@NetBSD.org> |
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_S
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the child process share the parent's lock so that signal state may be kept in sync. Partially addresses PR kern/37437.
show more ...
|
#
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 ...
|
#
28bae79b |
| 08-Dec-2007 |
dsl <dsl@NetBSD.org> |
ANSIfy most of the function definitions in sys/compat (but not ndis). All by the magic of sed ...
|
#
1844147f |
| 07-May-2007 |
dsl <dsl@NetBSD.org> |
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. amd
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.
show more ...
|
#
d364d308 |
| 18-Mar-2007 |
dsl <dsl@NetBSD.org> |
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
|
#
a065e516 |
| 16-Mar-2007 |
dsl <dsl@NetBSD.org> |
remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new)
remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64) to write a 32bit pointer throughout. The 32bit pointer is now a struct to enforce the above. amd64 (with linux emul) and sparc64 will both compile (when the arch stuff goes in soon), and amd64 still runs some i386 binaries.
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.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
b041fac9 |
| 19-Aug-2005 |
christos <christos@NetBSD.org> |
Fix lossage I created with the 64 bit ino_t change.
|
#
ee24060a |
| 22-Jul-2005 |
cube <cube@NetBSD.org> |
Remove duplication of code for netbsd32_wait4() by using stackgap(9).
|
#
91598566 |
| 10-Jul-2005 |
cube <cube@NetBSD.org> |
Report changes from sys_wait4().
|
#
71d53fb2 |
| 14-Feb-2003 |
dsl <dsl@NetBSD.org> |
Use find_stopped_child() and proc_free() in compat wait() code to avoid code duplication. (approved by christos)
|
#
6acc60d2 |
| 18-Jan-2003 |
thorpej <thorpej@NetBSD.org> |
Merge the nathanw_sa branch.
|
#
cb521158 |
| 23-Oct-2002 |
scw <scw@NetBSD.org> |
In preparation for COMPAT_NETBSD32 on SH-5:
- The MD netbsd32_machdep.h header now defines the 32-bit pointer type instead of using u_int32_t everywhere, - The MD netbsd32_machdep.h header now
In preparation for COMPAT_NETBSD32 on SH-5:
- The MD netbsd32_machdep.h header now defines the 32-bit pointer type instead of using u_int32_t everywhere, - The MD netbsd32_machdep.h header now defines a macro (at least on current implementations) which converts a 32-bit pointer to its 64-bit equivalent, - Change the MI code to utilise the above two items in all the right places, - Implement netbsd32___sigaction_sigtramp().
Tested on Sparc64 by Matt Green.
show more ...
|
#
4be499b5 |
| 28-Jul-2002 |
jdolecek <jdolecek@NetBSD.org> |
Convert to use p_opptr rather than p_oppid. Part of fix for security/14444 by David Sainty.
|
#
dab6ef8b |
| 13-Nov-2001 |
lukem <lukem@NetBSD.org> |
add RCSIDs (including regeneration of files as appropriate)
|