NetBSD Problem Report #54707

From  Mon Nov 18 10:55:57 2019
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 537F77A15F
	for <>; Mon, 18 Nov 2019 10:55:57 +0000 (UTC)
Message-Id: <>
Date: Mon, 18 Nov 2019 10:55:56 +0000 (UTC)
Subject: Description for SI_ASYNCIO in siginfo(2) outdated
X-Send-Pr-Version: www-1.0

>Number:         54707
>Category:       kern
>Synopsis:       Description for SI_ASYNCIO in siginfo(2) outdated
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 18 11:00:00 +0000 2019
>Originator:     Rin Okuyama
>Release:        9.99.17
Department of Physics, Meiji University
NetBSD nb64 9.99.17 NetBSD 9.99.17 (AMD64) #11: Mon Nov 18 18:48:19 JST 2019  rin@latipes:/build/src/sys/arch/amd64/compile/AMD64 amd64
siginfo(2) explains SI_ASYNCIO as:

SI_ASYNCIO  The signal was generated by completion of an asynchronous I/O
            operation.  The siginfo structure contains the following
            additional members:

                  int si_fd;
                  long si_band;

However, only si_value is used for SI_ASYNCIO. There's 3 files in
kernel that use SI_ASYNCIO: kern/sys_aio.c and
compat/linux{,32}/common/linux{,32}_signal.c. Everyone fills only
si_value member. For userland, kdump(1) recognizes SI_ASYNCIO, and
it retrieves only si_value also.
Code reading.
Please update siginfo(2) with description of si_value member.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.