Debian Bug report logs - #794217
socketpair: unclear where the SOCK_NONBLOCK and SOCK_CLOEXEC flags go

version graph

Package: manpages-dev; Maintainer for manpages-dev is Dr. Tobias Quathamer <toddy@debian.org>; Source for manpages-dev is src:manpages (PTS, buildd, popcon).

Reported by: Goswin von Brederlow <goswin-v-b@web.de>

Date: Fri, 31 Jul 2015 10:45:02 UTC

Severity: minor

Tags: fixed-upstream

Found in version manpages/3.74-1

Fixed in version 4.04-1

Done: "Dr. Tobias Quathamer" <toddy@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, goswin-v-b@web.de, Martin Schulze <joey@debian.org>:
Bug#794217; Package manpages-dev. (Fri, 31 Jul 2015 10:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Goswin von Brederlow <goswin-v-b@web.de>:
New Bug report received and forwarded. Copy sent to goswin-v-b@web.de, Martin Schulze <joey@debian.org>. (Fri, 31 Jul 2015 10:45:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Goswin von Brederlow <goswin-v-b@web.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: socketpair: unclear where the SOCK_NONBLOCK and SOCK_CLOEXEC flags go
Date: Fri, 31 Jul 2015 12:41:34 +0200
Package: manpages-dev
Version: 3.74-1
Severity: minor
File: socketpair

Hi,

reading 'man 2 socketpair' it is unclear where the new SOCK_NONBLOCK
and SOCK_CLOEXEC flags go in the function call. One has to read
through "man 2 socket" to discover that the type argument now also
serves as flags.

I recommend making this a bit clearer by changing the Notes from:

       Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
       SOCK_CLOEXEC flags described in socket(2).

to:

       Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
       SOCK_CLOEXEC flags in the _type_ argument as described in socket(2).

MfG
	Goswin

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages manpages-dev depends on:
ii  manpages  3.61-1

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]  2.6.7.1-1

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#794217; Package manpages-dev. (Fri, 07 Aug 2015 09:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>. (Fri, 07 Aug 2015 09:27:06 GMT) (full text, mbox, link).


Message #10 received at 794217@bugs.debian.org (full text, mbox, reply):

From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Goswin von Brederlow <goswin-v-b@web.de>, 794217@bugs.debian.org, control@bugs.debian.org
Cc: mtk.manpages@gmail.com
Subject: Re: Bug#794217: socketpair: unclear where the SOCK_NONBLOCK and SOCK_CLOEXEC flags go
Date: Fri, 07 Aug 2015 11:23:07 +0200
tags 794217 fixed-upstream
thanks

Hello Goswin,

On 07/31/2015 12:41 PM, Goswin von Brederlow wrote:
> Package: manpages-dev
> Version: 3.74-1
> Severity: minor
> File: socketpair
> 
> Hi,
> 
> reading 'man 2 socketpair' it is unclear where the new SOCK_NONBLOCK
> and SOCK_CLOEXEC flags go in the function call. One has to read
> through "man 2 socket" to discover that the type argument now also
> serves as flags.
> 
> I recommend making this a bit clearer by changing the Notes from:
> 
>        Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
>        SOCK_CLOEXEC flags described in socket(2).
> 
> to:
> 
>        Since   Linux  2.6.27,  socketpair()  supports  the  SOCK_NONBLOCK  and
>        SOCK_CLOEXEC flags in the _type_ argument as described in socket(2).

Thanks for the report. I've changed the upstream page, as you propose.

MfG aus München

Michael


> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386, armel
> 
> Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/dash
> Init: sysvinit (via /sbin/init)
> 
> Versions of packages manpages-dev depends on:
> ii  manpages  3.61-1
> 
> manpages-dev recommends no packages.
> 
> Versions of packages manpages-dev suggests:
> ii  man-db [man-browser]  2.6.7.1-1
> 
> -- no debconf information
> 
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



Added tag(s) fixed-upstream. Request was from "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> to control@bugs.debian.org. (Fri, 07 Aug 2015 09:27:10 GMT) (full text, mbox, link).


Reply sent to "Dr. Tobias Quathamer" <toddy@debian.org>:
You have taken responsibility. (Tue, 16 Feb 2016 20:39:08 GMT) (full text, mbox, link).


Notification sent to Goswin von Brederlow <goswin-v-b@web.de>:
Bug acknowledged by developer. (Tue, 16 Feb 2016 20:39:09 GMT) (full text, mbox, link).


Message #17 received at 794217-done@bugs.debian.org (full text, mbox, reply):

From: "Dr. Tobias Quathamer" <toddy@debian.org>
To: 794217-done@bugs.debian.org
Subject: socketpair is fixed now
Date: Tue, 16 Feb 2016 21:36:00 +0100
[Message part 1 (text/plain, inline)]
Version: 4.04-1

Hi,

this bug has been fixed in Debian, thanks for reporting.

Regards,
Tobias

[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Mar 2016 07:27:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Mar 9 10:02:51 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.