misc/92362: Missing SIGPOLL in kernel headers
Robert Millan
rmh at aybabtu.com
Thu Jan 26 04:50:09 PST 2006
>Number: 92362
>Category: misc
>Synopsis: Missing SIGPOLL in kernel headers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 26 12:50:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Robert Millan
>Release: 5.4-1-586 (Debian kernel)
>Organization:
>Environment:
GNU/kFreeBSD io.debian.net 5.4-1-586 #0 Mon Dec 5 19:45:10 CET 2005 i586 i386 AMD-K6(tm) 3D processor GNU/kFreeBSD
>Description:
SIGPOLL is not defined in <sys/ioctl_compat.h>. This macro is required by XSI:
http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html
Since SIGPOLL is basicaly a the same thing as SIGIO, it's safe to give it the same number (this is what GNU/Linux does).
Patch below.
>How-To-Repeat:
>Fix:
diff -ur src.old/sys/sys/signal.h src/sys/sys/signal.h
--- src.old/sys/sys/signal.h 2005-12-08 10:00:54.000000000 +0100
+++ src/sys/sys/signal.h 2006-01-26 13:31:16.000000000 +0100
@@ -95,6 +95,7 @@
#define SIGIO 23 /* input/output possible signal */
#endif
#if __XSI_VISIBLE
+#define SIGPOLL 23 /* pollable event */
#define SIGXCPU 24 /* exceeded CPU time limit */
#define SIGXFSZ 25 /* exceeded file size limit */
#define SIGVTALRM 26 /* virtual time alarm */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list