From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 Description of problem: When a program uses real-time signals then attempting to use SIGRTMAX with sigaddset fails with EINVAL. The cause is probably due to the mis-match: [/usr/include]# uname -a Linux *.*.* 2.4.20-9 #1 Wed Apr 2 13:42:50 EST 2003 i686 i686 i386 GNU/Linux [/usr/include]# cat /etc/redhat-release Red Hat Linux release 9 (Shrike) [/usr/include]# grep SIGRTMAX */*.h asm/signal.h:#define SIGRTMAX (_NSIG-1) bits/signum.h:#define SIGRTMAX (__libc_current_sigrtmax ()) bits/signum.h:#define __SIGRTMAX _NSIG On a machine running Phoebe, asm/signal.h:#define SIGRTMAX (_NSIG-1) bits/signum.h:#define SIGRTMAX (__libc_current_sigrtmax ()) bits/signum.h:#define __SIGRTMAX (_NSIG - 1) Version-Release number of selected component (if applicable): glibc-kernheaders-2.4-8.10 glibc-devel-2.3.2-27.9 How reproducible: Always Steps to Reproduce: 1.try to add SIGRTMAX to a signal set using sigaddset() 2. 3. Actual Results: sigaddset() failed with EINVAL Expected Results: sigaddset() should have succeeded Additional info:
It is none of your business to look at the kernel headers. Their content is valid for the kernel but not userlevel.