Date: Thu, 26 Jan 2006 12:44:38 GMT From: Robert Millan <rmh@aybabtu.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/92362: Missing SIGPOLL in kernel headers Message-ID: <200601261244.k0QCicrS062671@www.freebsd.org> Resent-Message-ID: <200601261250.k0QCo5td004261@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601261244.k0QCicrS062671>