Discussion:
[1003.1(2013)/Issue7+TC1 0000881]: add ppoll()
Austin Group Bug Tracker
2014-10-09 09:49:30 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=881
======================================================================
Reported By: philip-guenther
Assigned To: ajosey
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 881
Category: System Interfaces
Type: Enhancement Request
Severity: Comment
Priority: normal
Status: Under Review
Name: Philip Guenther
Organization: OpenBSD
User Reference:
Section: ppoll()
Page Number: n/a
Line Number: n/a
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2014-10-09 06:04 UTC
Last Modified: 2014-10-09 09:49 UTC
======================================================================
Summary: add ppoll()
======================================================================

----------------------------------------------------------------------
(0002410) joerg (reporter) - 2014-10-09 09:49
http://austingroupbugs.net/view.php?id=881#c2410
----------------------------------------------------------------------
If a new interface should be added, we should rather add the interface from
Solaris, currently:

_pollsys(struct pollfd *fds, nfds_t nfd, const timespec_t *timeout,
const sigset_t *sigmask)

that exists since 2003.

Issue History
Date Modified Username Field Change
======================================================================
2014-10-09 06:04 philip-guentherNew Issue
2014-10-09 06:04 philip-guentherStatus New => Under Review
2014-10-09 06:04 philip-guentherAssigned To => ajosey
2014-10-09 06:04 philip-guentherName => Philip Guenther
2014-10-09 06:04 philip-guentherOrganization => OpenBSD
2014-10-09 06:04 philip-guentherSection => ppoll()
2014-10-09 06:04 philip-guentherPage Number => n/a
2014-10-09 06:04 philip-guentherLine Number => n/a
2014-10-09 09:16 geoffclare Project 2008-TC1 =>
1003.1(2013)/Issue7+TC1
2014-10-09 09:49 joerg Note Added: 0002410
======================================================================
Austin Group Bug Tracker
2014-10-09 10:47:20 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=881
======================================================================
Reported By: philip-guenther
Assigned To: ajosey
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 881
Category: System Interfaces
Type: Enhancement Request
Severity: Comment
Priority: normal
Status: Under Review
Name: Philip Guenther
Organization: OpenBSD
User Reference:
Section: ppoll()
Page Number: n/a
Line Number: n/a
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2014-10-09 06:04 UTC
Last Modified: 2014-10-09 10:47 UTC
======================================================================
Summary: add ppoll()
======================================================================

----------------------------------------------------------------------
(0002411) geoffclare (manager) - 2014-10-09 10:47
http://austingroupbugs.net/view.php?id=881#c2411
----------------------------------------------------------------------
In Solaris 11, _pollsys() seems to be an internal libc interface that is
not exposed for use by applications. It has no prototype in the headers,
no man page, and attempting to use it produces an "undefined symbol" linker
error.

By contrast, Solaris 11 does have a useable ppoll(), with a prototype in
<poll.h> and a man page (shared with poll()).

Issue History
Date Modified Username Field Change
======================================================================
2014-10-09 06:04 philip-guentherNew Issue
2014-10-09 06:04 philip-guentherStatus New => Under Review
2014-10-09 06:04 philip-guentherAssigned To => ajosey
2014-10-09 06:04 philip-guentherName => Philip Guenther
2014-10-09 06:04 philip-guentherOrganization => OpenBSD
2014-10-09 06:04 philip-guentherSection => ppoll()
2014-10-09 06:04 philip-guentherPage Number => n/a
2014-10-09 06:04 philip-guentherLine Number => n/a
2014-10-09 09:16 geoffclare Project 2008-TC1 =>
1003.1(2013)/Issue7+TC1
2014-10-09 09:49 joerg Note Added: 0002410
2014-10-09 10:47 geoffclare Note Added: 0002411
======================================================================
Austin Group Bug Tracker
2014-10-09 11:05:21 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=881
======================================================================
Reported By: philip-guenther
Assigned To: ajosey
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 881
Category: System Interfaces
Type: Enhancement Request
Severity: Comment
Priority: normal
Status: Under Review
Name: Philip Guenther
Organization: OpenBSD
User Reference:
Section: ppoll()
Page Number: n/a
Line Number: n/a
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2014-10-09 06:04 UTC
Last Modified: 2014-10-09 11:05 UTC
======================================================================
Summary: add ppoll()
======================================================================

----------------------------------------------------------------------
(0002412) joerg (reporter) - 2014-10-09 11:05
http://austingroupbugs.net/view.php?id=881#c2412
----------------------------------------------------------------------
Sorry, it seems that I did slip the sigmask parameter from the ppoll()
proposal from above.

BTW: the ppoll() call in Solaris just forwards to _pollsys()

Issue History
Date Modified Username Field Change
======================================================================
2014-10-09 06:04 philip-guentherNew Issue
2014-10-09 06:04 philip-guentherStatus New => Under Review
2014-10-09 06:04 philip-guentherAssigned To => ajosey
2014-10-09 06:04 philip-guentherName => Philip Guenther
2014-10-09 06:04 philip-guentherOrganization => OpenBSD
2014-10-09 06:04 philip-guentherSection => ppoll()
2014-10-09 06:04 philip-guentherPage Number => n/a
2014-10-09 06:04 philip-guentherLine Number => n/a
2014-10-09 09:16 geoffclare Project 2008-TC1 =>
1003.1(2013)/Issue7+TC1
2014-10-09 09:49 joerg Note Added: 0002410
2014-10-09 10:47 geoffclare Note Added: 0002411
2014-10-09 11:05 joerg Note Added: 0002412
======================================================================
Loading...