This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] Factor out shared definitions from bits/signum.h.


On Wed, Jun 7, 2017 at 3:08 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 06/05/2017 03:45 PM, Zack Weinberg wrote:
>> +* The obsolete signal constants SIGSTKFLT and SIGUNUSED are no longer
>> +  defined by <signal.h>.  No supported version of the Linux kernel
>> +  generates these signals, on any architecture.
>
> But can't you use these signals like SIGUSR1 and SIGUSR2?

SIGSTKFLT, yes, I didn't think of that and I'll put it back.

SIGUNUSED, on the other hand, was a placeholder #define for signal 31
prior to kernel 2.6.29; in current kernels, that number is assigned to
SIGSYS on all architectures.  asm/signal.h (all versions) still
defines it "for backward compatibility", but the first several pages
of hits for the identifier on codesearch.debian.net appear to be
either language bindings or zealous attempts to reset _all_ signals to
SIG_DFL.  I think it can go.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]