search for: __sigaction

Displaying 12 results from an estimated 12 matches for "__sigaction".

Did you mean: k_sigaction
2020 Aug 29
0
[klibc:master] signal: Add config flag for additional sigaction fixup
...ruct sigaction *act_type; +#else +typedef const struct sigaction *act_type; +#endif + #if _KLIBC_USE_RT_SIG -__extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, - size_t); +__extern int __rt_sigaction(int, act_type, struct sigaction *, size_t); #else -__extern int __sigaction(int, const struct sigaction *, struct sigaction *); +__extern int __sigaction(int, act_type, struct sigaction *); #endif int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) @@ -28,7 +34,9 @@ int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) st...
2020 Aug 28
0
[klibc:ia64-signal-fix] signal: Move rt_sigaction() argument mangling to arch directories
...rt_sigaction(sig, act, oact, restorer, size); +} diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 789494db..d2223843 100644 --- a/usr/klibc/sigaction.c +++ b/usr/klibc/sigaction.c @@ -8,16 +8,11 @@ #include <klibc/sysconfig.h> __extern void __sigreturn(void); -__extern int __sigaction(int, const struct sigaction *, struct sigaction *); -#ifdef __sparc__ -__extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, - void (*)(void), size_t); -#elif defined(__alpha__) -__extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, - si...
2020 Jul 25
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
...nd(const sigset_t *, size_t); int rt_sigpending::__rt_sigpending(sigset_t *, size_t); int rt_sigprocmask::__rt_sigprocmask(int, const sigset_t *, sigset_t *, size_t); -<sparc64> void rt_sigreturn::__sigreturn(); +<sparc,sparc64> void rt_sigreturn::__sigreturn(); #else int sigaction::__sigaction(int, const struct sigaction *, struct sigaction *); int sigpending(sigset_t *); diff --git a/usr/klibc/arch/sparc/MCONFIG b/usr/klibc/arch/sparc/MCONFIG index cabc7cd4..fb68ba3f 100644 --- a/usr/klibc/arch/sparc/MCONFIG +++ b/usr/klibc/arch/sparc/MCONFIG @@ -18,6 +18,5 @@ KLIBCARCHREQFLAGS += -D__...
2020 Aug 20
0
[klibc:execstack-fixes] sparc: Set sa_restorer for signals and disable executable stack
...nd(const sigset_t *, size_t); int rt_sigpending::__rt_sigpending(sigset_t *, size_t); int rt_sigprocmask::__rt_sigprocmask(int, const sigset_t *, sigset_t *, size_t); -<sparc64> void rt_sigreturn::__sigreturn(); +<sparc,sparc64> void rt_sigreturn::__sigreturn(); #else int sigaction::__sigaction(int, const struct sigaction *, struct sigaction *); int sigpending(sigset_t *); diff --git a/usr/klibc/arch/sparc/MCONFIG b/usr/klibc/arch/sparc/MCONFIG index cabc7cd4..fb68ba3f 100644 --- a/usr/klibc/arch/sparc/MCONFIG +++ b/usr/klibc/arch/sparc/MCONFIG @@ -18,6 +18,5 @@ KLIBCARCHREQFLAGS += -D__...
2001 Feb 21
1
Compile problems with 2.5.1p1 and older Linux boxes
...) cli.c:94: warning: passing arg 2 of `sigaction' from incompatible pointer type cli.c: At top level: cli.c:14: storage size of `nsa' isn't known cli.c:15: storage size of `osa' isn't known make: *** [cli.o] Error 1 Here are lines 215-218 from /usr/include/signal.h: extern int __sigaction __P ((int __sig, __const struct sigaction *__act, struct sigaction *__oact)); extern int sigaction __P ((int __sig, __const struct sigaction *__act, struct sigaction *__oact)); Thanks for your help! Mike ____________________________________...
2020 Aug 27
0
[klibc:master] s390: Set sa_restorer for signals and disable executable stack
...ff_t *, size_t, off_t); int rt_sigsuspend::__rt_sigsuspend(const sigset_t *, size_t); int rt_sigpending::__rt_sigpending(sigset_t *, size_t); int rt_sigprocmask::__rt_sigprocmask(int, const sigset_t *, sigset_t *, size_t); -<sparc64> void rt_sigreturn::__sigreturn(); #else int sigaction::__sigaction(int, const struct sigaction *, struct sigaction *); int sigpending(sigset_t *); @@ -229,6 +228,7 @@ int sigprocmask(int, const sigset_t *, sigset_t *); <sh,sparc,alpha,ppc,sparc64> int sigsuspend::__sigsuspend_s(sigset_t); <arm,frv,i386,m68k,mn10300,s390,s390x> int sigsuspend::__sigs...
2012 May 29
0
[klibc:master] alpha: fix signal handler setup on DEC Alpha
...ing::__rt_sigpending(sigset_t *, size_t); int rt_sigprocmask::__rt_sigprocmask(int, const sigset_t *, sigset_t *, size_t); diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 658c3ad..19a8a54 100644 --- a/usr/klibc/sigaction.c +++ b/usr/klibc/sigaction.c @@ -11,6 +11,9 @@ __extern int __sigaction(int, const struct sigaction *, struct sigaction *); #ifdef __sparc__ __extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, void (*)(void), size_t); +#elif defined(__alpha__) +__extern int __rt_sigaction(int, const struct sigaction *, struct sigaction *, + si...
2012 May 25
4
klibc breakage on alpha, need porterbox
Hi, is there a DD-accessible porterbox somewhere (slow would be ok, as this is smallish software) with an up-to-date sid (enough to install the recently-built libklibc-dev 2.0~rc5-1 and all other B-D of mksh 40.9.20120518-1, as well as strace and gdb-minimal)? Similarily to http://www.zytor.com/pipermail/klibc/2012-May/003229.html I found klibc-compiled programmes on Alpha to fail (SIGSEGV
2012 May 05
3
[PATCH] fix non-RT sigsuspend()
...SCALLS.def b/usr/klibc/SYSCALLS.def index 6ed6bdf..7abab15 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -206,9 +206,20 @@ int rt_sigprocmask::__rt_sigprocmask(int, const sigset_t *, sigset_t *, size_t); <sparc64> void rt_sigreturn::__sigreturn(); #else int sigaction::__sigaction(int, const struct sigaction *, struct sigaction *); -int sigsuspend(const sigset_t *); int sigpending(sigset_t *); int sigprocmask(int, const sigset_t *, sigset_t *); +/* + * There is no single calling convention for the old sigsuspend. + * If your architecture is not listed here, building klibc...
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi, I?ve gone through the mailing list archives and hereby want to resubmit my pending patches. Most are independent of each other, except the m68k patch which will only be complete if sigsuspend is also fixed. (It can be applied before that, though.) http://www.zytor.com/pipermail/klibc/2012-January/003173.html [PATCH] fix m68k support Resubmitted here as 0005. While there was a question from
2017 Aug 01
2
[RFC] Profile guided section layout
...SC_SM_E_EEEvT_SP_T0_T1_ _ZSt17__merge_sort_loopIN9__gnu_cxx17__normal_iteratorIPN3lld3elf13EhFrameHeaderIN4llvm6object7ELFTypeILNS5_7support10endiannessE1ELb1EEEE7FdeDataESt6vectorISC_SaISC_EEEESD_lNS0_5__ops15_Iter_comp_iterIZNSB_7writeToEPhEUlRKSC_SM_E_EEEvT_SP_T0_T1_T2_ 16 _ZL16RegisterHandlersv __sigaction 16 __sigaction __libc_sigaction 15 _GLOBAL__sub_I_LoopUnrollPass.cpp __cxa_atexit 15 _GLOBAL__sub_I_CodeGenPrepare.cpp __cxa_atexit 15 _GLOBAL__sub_I_MachineScheduler.cpp __cxa_atexit 15 _GLOBAL__sub_I_ScheduleDAGRRList.cpp __cxa_atexit 15 _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_r...
2017 Jul 31
2
[RFC] Profile guided section layout
A rebased version of the lld patch is attached. Cheers, Rafael On 31 July 2017 at 15:11, Rafael Avila de Espindola <rafael.espindola at gmail.com> wrote: > Tobias Edler von Koch <tobias at codeaurora.org> writes: > >> Hi Rafael, >> >> On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote: >>> However, do we need to start with