search for: sigrtmax

Displaying 13 results from an estimated 13 matches for "sigrtmax".

2009 Jul 16
1
[PATCH] fix warning include/signal.h:47:5: warning: "SIGRTMAX" is not defined
...files changed, 2 insertions(+), 0 deletions(-) diff --git a/usr/include/signal.h b/usr/include/signal.h index a513282..4ed65bc 100644 --- a/usr/include/signal.h +++ b/usr/include/signal.h @@ -44,10 +44,12 @@ typedef int sig_atomic_t; /* The kernel header files are inconsistent whether or not SIGRTMAX is inclusive or exclusive. POSIX seems to state that it's inclusive, however. */ +#ifdef SIGRTMAX #if SIGRTMAX >= _NSIG # undef SIGRTMAX # define SIGRTMAX (_NSIG-1) #endif +#endif __extern const char *const sys_siglist[_NSIG]; __extern const char *const sys_sigabbrev[_NSIG];
2005 Mar 02
1
[PATCH] signal.h
This patch does two things. This test program results (on i386) in an error about _NSIG: #include <signal.h> #if defined (SIGRTMAX) int rtmax = SIGRTMAX; #endif The cause is that the kernel signal.h defines SIGRTMAX as _NSIG, then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__. Perhaps it's more elegant to solve this in the kernel, but the ramifications of that scare me. The other issue is that signal() is n...
2005 Dec 28
1
Problems with klibc 1.1.8
...' dash/trap.c: In function 'decode_signal': dash/trap.c:398: error: 'SIGRTMIN' undeclared (first use in this function) dash/trap.c:398: error: (Each undeclared identifier is reported only once dash/trap.c:398: error: for each function it appears in.) dash/trap.c:399: error: 'SIGRTMAX' undeclared (first use in this function) dash/trap.c: In function 'signal_name': dash/trap.c:428: error: 'SIGRTMIN' undeclared (first use in this function) dash/trap.c:428: error: 'SIGRTMAX' undeclared (first use in this function) dash/trap.c:429: warning: implicit decla...
2019 Jan 25
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...MIN", 5) ) { + if (!strncasecmp(string, "RTMIN", 5)) { char *ep; - if ( string[5] && string[5] != '+' ) + if (string[5] && string[5] != '+') return -1; - i = SIGRTMIN + strtol(string+5, &ep, 10); - if ( *ep || i < SIGRTMIN || i > SIGRTMAX ) + signo = SIGRTMIN + strtol(string+5, &ep, 10); + if (*ep || signo < SIGRTMIN || signo > SIGRTMAX) return -1; - return i; + return signo; } - if ( !strncasecmp(string, "RTMAX", 5) ) { + if (!strncasecmp(string, "RTMAX", 5)) { char *ep; - if ( string...
2020 Mar 28
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...MIN", 5) ) { + if (!strncasecmp(string, "RTMIN", 5)) { char *ep; - if ( string[5] && string[5] != '+' ) + if (string[5] && string[5] != '+') return -1; - i = SIGRTMIN + strtol(string+5, &ep, 10); - if ( *ep || i < SIGRTMIN || i > SIGRTMAX ) + signo = SIGRTMIN + strtol(string+5, &ep, 10); + if (*ep || signo < SIGRTMIN || signo > SIGRTMAX) return -1; - return i; + return signo; } - if ( !strncasecmp(string, "RTMAX", 5) ) { + if (!strncasecmp(string, "RTMAX", 5)) { char *ep; - if ( string...
2006 Oct 13
3
error running webserver 7 with the DTrace dvm agents...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body text="#330000" bgcolor="#ffffff"> <tt><font size="+1">I am attempting to run the sun webserver 7
2010 Jan 11
0
[PATCH] Fix arm signals
...Z 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +/* +#define SIGLOST 29 +*/ +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 + +/* These should not be considered constants from userland. */ +#define SIGRTMIN 32 +#define SIGRTMAX _NSIG + +#define SIGSWI 32 + +/* + * SA_FLAGS values: + * + * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. + * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies. + * SA_SIGINFO deliver the signal with SIGINFO structs + * SA_THIRTYTWO delivers the signal in 32-bit mode, even if the t...
2007 Aug 29
2
Klibc 1.5.4 build issues
.../../include/signal.h:14, from usr/klibc/../include/sys/select.h:11, from usr/klibc/../include/unistd.h:12, from usr/klibc/../include/stdio.h:11, from usr/klibc/vsnprintf.c:13: linux/include/asm-generic/signal.h:74:1: warning: "SIGRTMAX" redefined In file included from usr/klibc/../include/signal.h:14, from usr/klibc/../include/sys/select.h:11, from usr/klibc/../include/unistd.h:12, from usr/klibc/../include/stdio.h:11, from usr/klibc/vsnprintf.c:13: usr/incl...
2011 Jul 05
6
[PATCH 1/7] ln: Check snprintf() return values
Add some semi-useful error message, as printing the failing dir or file seems not really advisable after that error. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/ln.c | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/usr/utils/ln.c b/usr/utils/ln.c index e826eb8..257b33f 100644 --- a/usr/utils/ln.c +++ b/usr/utils/ln.c @@ -9,7
2011 Aug 08
0
[PATCH/RFC] Add initial avr32 port
...define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +/* +#define SIGLOST 29 +*/ +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 + +/* These should not be considered constants from userland. */ +#define SIGRTMIN 32 +#define SIGRTMAX (_NSIG-1) + +/* + * SA_FLAGS values: + * + * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. + * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies. + * SA_SIGINFO deliver the signal with SIGINFO structs + * SA_ONSTACK indicates that a registered stack_t will be used....
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +#define SIGPWR 30 +#define SIGSYS 31 +#define SIGUNUSED 31 + +#define SIGRTMIN 32 +#define SIGRTMAX (_NSIG-1) + +/* + * SA_FLAGS values: + * + * SA_ONSTACK indicates that a registered stack_t will be used. + * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the + * SA_RESTART flag to get restarting signals (which were the default long ago) + * SA_NOCLDSTOP flag to turn off...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...ot found Checking for system pytalloc-util (>=2.1.14) : not found Checking value of NSIG : yes Checking value of _NSIG : yes Checking value of SIGRTMAX : yes Checking value of SIGRTMIN : yes Checking for program python : /usr/bin/python Checking for Python version >= 2.4.2...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: