#
955ad518 |
| 01-Feb-2021 |
skrll <skrll@NetBSD.org> |
G/C some old code that was for acorn26
|
#
bdb86e29 |
| 27-Nov-2018 |
maxv <maxv@NetBSD.org> |
Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo has padding, so zero it out properly. While here I'm also zeroing out some other things in several ports, for safety. Same pro
Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo has padding, so zero it out properly. While here I'm also zeroing out some other things in several ports, for safety. Same problem in netbsd32, so fix that too.
I can't compile-test on each architecture, but there should be no breakage (tm).
Overall this fixes at least 14 info leaks. Prompted by the discovery by KLEAK of a leak in amd64's sendsig_siginfo.
show more ...
|
#
474ee3bb |
| 24-Jan-2018 |
skrll <skrll@NetBSD.org> |
Remove port-acorn26
OK core@
|
#
67518fb9 |
| 24-Mar-2015 |
matt <matt@NetBSD.org> |
Preserve/restore user r/w tpid in mcontext.
|
#
96fe9714 |
| 13-Aug-2014 |
matt <matt@NetBSD.org> |
When creating a mcontext, make sure the PSR we are saving is actually valid.
|
#
7de0cf26 |
| 18-Aug-2013 |
matt <matt@NetBSD.org> |
Move parts of cpu.h that are not needed by MI code in <arm/locore.h> Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h> Use <arm/asm.h> instead of <machine/arm.h>
|
#
736d7c6b |
| 04-Mar-2013 |
matt <matt@NetBSD.org> |
Fix boolean inversion in FPU setcontext.
|
#
80af0463 |
| 08-Dec-2012 |
matt <matt@NetBSD.org> |
Make sure that if _UC_FPU is set, that _UC_ARM_VFP is also set.
|
#
ba1debe9 |
| 05-Dec-2012 |
matt <matt@NetBSD.org> |
ARMFPE hasn't compiled since NetBSD 4. Remove it. Complete support for FPU_VFP. fpregs now contains vfpreg. XXX vfpreg only has space for 16 64-bit FP registers though VFPv3 and later have 32 64-bit
ARMFPE hasn't compiled since NetBSD 4. Remove it. Complete support for FPU_VFP. fpregs now contains vfpreg. XXX vfpreg only has space for 16 64-bit FP registers though VFPv3 and later have 32 64-bit FP registers.
show more ...
|
#
60499136 |
| 16-Aug-2012 |
matt <matt@NetBSD.org> |
Rename process_frame to lwp_trapframe
|
#
7a8d7e23 |
| 21-May-2012 |
martin <martin@NetBSD.org> |
Calling _lwp_create() with a bogus ucontext could trigger a kernel assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently discovered by YAMAMOTO Takashi and Joel Sing.
To avoid th
Calling _lwp_create() with a bogus ucontext could trigger a kernel assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently discovered by YAMAMOTO Takashi and Joel Sing.
To avoid this, introduce a cpu_mcontext_validate() function and move all sanity checks from cpu_setmcontext() there. Also untangle the netbsd32 compat mess slightly and add a cpu_mcontext32_validate() cousin there.
Add an exhaustive atf test case, based partly on code from Joel Sing.
Should finally fix the remaining open part of PR kern/43903.
show more ...
|
#
7d6001c7 |
| 25-Jan-2012 |
tsutsui <tsutsui@NetBSD.org> |
STACKALIGN(fp) -> STACK_ALIGN(fp, STACK_ALIGNBYTES) per recent param.h cleanup.
|
#
fcddf71f |
| 30-Jun-2011 |
wiz <wiz@NetBSD.org> |
dependant -> dependent
|
#
4c92f569 |
| 24-Feb-2011 |
joerg <joerg@NetBSD.org> |
Allow storing and receiving the LWP private pointer via ucontext_t on all platforms except VAX and IA64. Add fast access via register for AMD64, i386 and SH3 ports. Use this fast access in libpthread
Allow storing and receiving the LWP private pointer via ucontext_t on all platforms except VAX and IA64. Add fast access via register for AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace the stack based pthread_self(). Implement skeleton support for Alpha, HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.
Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in machine/types.h and a corresponding __lwp_getprivate_fast in machine/mcontext.h.
This material is based upon work partially supported by The NetBSD Foundation under a contract with Joerg Sonnenberger.
show more ...
|
#
77214629 |
| 21-Nov-2009 |
rmind <rmind@NetBSD.org> |
Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.
|
#
82357f6d |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
#
92ce8c6a |
| 19-Nov-2008 |
ad <ad@NetBSD.org> |
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime
show more ...
|
#
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 ...
|
#
d974db0a |
| 17-Oct-2007 |
garbled <garbled@NetBSD.org> |
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the v
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
show more ...
|
#
0bc323f5 |
| 08-Jul-2007 |
pooka <pooka@NetBSD.org> |
Initialize the link context in a signal frame to the receiving lwp's link context instead of NULL. Otherwise, if we got a signal while the lwp had a link context set, the link context would be set t
Initialize the link context in a signal frame to the receiving lwp's link context instead of NULL. Otherwise, if we got a signal while the lwp had a link context set, the link context would be set to NULL upon return from signal delivery.
christos@tech-kern: "I think you are right."
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.
|
#
7cfa6abf |
| 18-Feb-2007 |
ad <ad@NetBSD.org> |
More signals/locking changes.
|
#
069c9702 |
| 18-Feb-2007 |
briggs <briggs@NetBSD.org> |
Adapt to newlock2.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
8f247a77 |
| 22-Oct-2006 |
peter <peter@NetBSD.org> |
add const
|