summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/i386/sigaction.c
Commit message (Collapse)AuthorAgeFilesLines
* *: if !HAS_THREADS strong alias sigactionBernhard Reutner-Fischer2012-01-281-0/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* i386/sigaction.c: slightly more readable form of [rt_]sigreturn definitionsDenys Vlasenko2012-01-181-5/+4
| | | | | | No code changes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* nptl: fix libc sigaction signal checkingTimo Teräs2010-04-151-12/+0
| | | | | | | | | | We should not check for SIGCANCEL in __libc_sigaction because nptl calls this function to setup this signal. Nptl provides it's own override for sigaction that checks that the user cannot override signals nptl uses internally. Linuxthreads does not use SIGCANCEL at all so this affects nptl only. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko2008-12-151-93/+65
| | | | | Run tested on i386.
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-131-4/+4
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* fix sigset_t size for mips (it's the only arch with 128 signals).Denis Vlasenko2008-12-011-28/+34
| | | | | | | fix _NSIG for it. better document what's going on in sigaction(). seems to not induce any actual code changes (sans mips).
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* - fix sigaction on older kernels (Michael Deutschmann)Bernhard Reutner-Fischer2008-10-191-3/+3
| | | | | | | | | | | | | | In issue #5554 Michael wrote: The implementation of sigaction on i386 for older kernels makes the system call using an inline asm element with two flaws: 1. The asm is not marked as depending on the kact structure or modifying the koact structure. Thus, GCC is free to assume these structures need not be kept consistent, allowing it to remove all initialization of kact. 2. The asm allows the signal number to be provided as a memory reference. But this allows GCC to provide a stack-relative operand, which will break because the assembler saves %ebx on the stack before using that operand. 1 didn't use to be a problem in practice because GCC 4.2.* didn't seize the optimization opportunity. GCC 4.3.2, however, optimizes out the "kact.sa_flags = act->sa_flags | SA_RESTORER;" line, so that the kernel sees garbage in sa_flags. This can result in the kernel seeing the SA_RESETHAND flag, causing erratic behaviour in signal dependent programs. 2 becomes an issue if "-fomit-frame-pointer" is provided. In uClibc-0.9.29 it isn't, uClibc-0.9.30-rc2 does use the flag by default.
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* Remove stray code alignment (.align 16 and .align 4 directives)Denis Vlasenko2007-07-291-2/+0
| | | | | from i386 and x86_64.
* even the hidden version of the weaks in libc (as strong in libpthread) have ↵Peter S. Mazinger2006-02-021-1/+1
| | | | to be weaks
* Get rid of missing prototype warningsPeter S. Mazinger2006-01-261-0/+1
|
* Guard the use of sigreturn as in x86_64, thx blindvtPeter S. Mazinger2006-01-251-0/+2
|
* make sigaction/raise/sigwait/siglongjmp/longjmp weak_alias, these are in ↵Peter S. Mazinger2006-01-231-1/+1
| | | | libpthread as well
* Make i386 build w/ -std=c99 (almost)Peter S. Mazinger2006-01-231-6/+6
|
* make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger2006-01-151-1/+1
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-4/+7
| | | | missing headers, other jump relocs removed
* Merge from NPTL branch. Bring in the remaining changes for sigaction."Steven J. Hill"2005-12-101-0/+3
|
* Try to mimic glibc sigaction, sjhill, could you please test w/ this version?Peter S. Mazinger2005-12-081-4/+4
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-4/+4
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-2/+2
|
* tweak restore function definitions like glibc does it to get rid of warningsMike Frysinger2005-11-211-5/+3
|
* Oops. I'd left an extra invocation of sigaction in there...Eric Andersen2003-02-031-3/+1
|
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-221-0/+169
implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik