/usr/lib/bcc/include/bsd/signal.h is in elks-libc 0.16.17-3.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef _BSD_SIGNAL_H
#define _BSD_SIGNAL_H
/* make sure we get BSD style signals (that don't need to be reset) */
#define __USE_BSD_SIGNAL
#include_next <signal.h>
/* use rough approximation of sigaction to sigvec, not completely safe! */
#define sigvec sigaction
#define sv_mask sa_mask
#define sv_flags sa_flags
#define sv_handler sa_handler
#define sv_onstack sa_mask /* ouch, this one really hurts */
/* BSD uses some non-POSIX signals without ifdefs */
#define SIGSYS SIGUNUSED
/* BSD wants this typedef for signal handlers */
#define sig_t __sighandler_t
#endif /* _BSD_SIGNAL_H */
|