|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1 |
|
| #
38c3a22e |
| 15-Aug-2021 |
Sascha Wildner <saw@online.de> |
<signal.h>/<ucontext.h>: Split those two headers better.
<signal.h> needs only ucontext_t and stack_t from <ucontext.h>. Split those out to <sys/_ucontext.h> and stop including the full <ucontext.h>
<signal.h>/<ucontext.h>: Split those two headers better.
<signal.h> needs only ucontext_t and stack_t from <ucontext.h>. Split those out to <sys/_ucontext.h> and stop including the full <ucontext.h> from <signal.h> and vice versa, for userland.
In <ucontext.h>, continue defining siginfo_t for non-POSIX because third party code expects us to.
This has been tested with a full dports bulk build.
show more ...
|
|
Revision tags: v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2 |
|
| #
7c47e3df |
| 13-Jul-2020 |
Sascha Wildner <saw@online.de> |
libc/asmcontext: Remove unneeded ASSYM()s.
|
|
Revision tags: v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2 |
|
| #
63261abb |
| 21-Dec-2015 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Fix bugs in getcontext(), setcontext(), and swapcontext()
* Fix multiple bugs revealed by qemu's use of these functions. Most of these fixes are accomplished by calling sigreturn(uctx) to
libc - Fix bugs in getcontext(), setcontext(), and swapcontext()
* Fix multiple bugs revealed by qemu's use of these functions. Most of these fixes are accomplished by calling sigreturn(uctx) to restore the state instead of trying to roll our own in userland. This won't be much slower (if at all) because we had to save and restore the signal state in the userland code anyway, so we could not avoid making at least one system call.
Using sigreturn() handles the signal mask atomicy for us so we don't have to deal with it and fixes numerous other issues. Along with this change, adjust getcontext() and makecontext() to fill out additional important fields in the ucontext that sigreturn() inspects.
* Fixes two stack corruption bugs. First, getcontext() was calling get_mcontext() and get_mcontext() was setting up the setcontext return state to return 1 ... from get_mcontext(), NOT from getcontext(). If normal operations or signals mess with the stack, the double return will not work. Oops.
Secondly, getcontext scribbled over the red-zone in a way that is not permitted.
* setcontext() was restoring the context as saved by makecontext() or getcontext(), but setcontext() can also be called with the ucontext from the signal handler which requires a full restore. setcontext() was not restoring FPU or scratch registers or rflags.
* Fixes signal restoration bug and corruption that can mess up emulation in qemu.
* Fixes issues with qemu related to SMP startup and lack of preemption.
Reported-by: ivadasz
show more ...
|
|
Revision tags: v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3, v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
| #
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0 |
|
| #
c6ffff80 |
| 07-Nov-2009 |
Aggelos Economopoulos <aoiko@cc.ece.ntua.gr> |
Merge branch 'master' of git://chlamydia.fs.ei.tum.de/dragonfly
|
| #
b2b3ffcd |
| 04-Nov-2009 |
Simon Schubert <corecode@dragonflybsd.org> |
rename amd64 architecture to x86_64
The rest of the world seems to call amd64 x86_64. Bite the bullet and rename all of the architecture files and references. This will hopefully make pkgsrc build
rename amd64 architecture to x86_64
The rest of the world seems to call amd64 x86_64. Bite the bullet and rename all of the architecture files and references. This will hopefully make pkgsrc builds less painful.
Discussed-with: dillon@
show more ...
|
| #
c1543a89 |
| 04-Nov-2009 |
Simon Schubert <corecode@dragonflybsd.org> |
rename amd64 architecture to x86_64
The rest of the world seems to call amd64 x86_64. Bite the bullet and rename all of the architecture files and references. This will hopefully make pkgsrc build
rename amd64 architecture to x86_64
The rest of the world seems to call amd64 x86_64. Bite the bullet and rename all of the architecture files and references. This will hopefully make pkgsrc builds less painful.
Discussed-with: dillon@
show more ...
|