Skip to content
Commit f26d456b authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

linux: Fix __NSIG_WORDS and add __NSIG_BYTES



The __NSIG_WORDS value is based on minimum number of words to hold
the maximum number of signals supported by the architecture.

This patch also adds __NSIG_BYTES, which is the number of bytes
required to represent the supported number of signals.  It is used in
syscalls which takes a sigset_t.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Tested-by: default avatarCarlos O'Donell <carlos@redhat.com>
Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent f13d2601
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment