On executing the following command

$ grep SIGRTMIN /usr/include/ -r
/usr/include/asm-generic/signal.h:#define SIGRTMIN      32
/usr/include/x86_64-linux-gnu/asm/signal.h:#define SIGRTMIN     32
/usr/include/x86_64-linux-gnu/bits/signum.h:#define SIGRTMIN        
(__libc_current_sigrtmin ())
/usr/include/x86_64-linux-gnu/bits/signum.h:#define __SIGRTMIN  32

and checking the source code of glibc-2.19/signal/allocrtsig.c
...
/* Return number of available real-time signal with highest priority.  */
int
__libc_current_sigrtmin (void)
{
#ifdef __SIGRTMIN
  if (!initialized)
    init ();
#endif
  return current_rtmin;
}
...

It seems that bash uses the value of current_rtmin

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433155

Title:
  bash "kill -l" builtin gives wrong numbers for SIGRTMIN+n signals

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1433155/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to