NetBSD Problem Report #52872
From www@NetBSD.org Thu Dec 28 11:45:35 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 6CF847A16B
for <gnats-bugs@gnats.NetBSD.org>; Thu, 28 Dec 2017 11:45:35 +0000 (UTC)
Message-Id: <20171228114534.857B57A1B3@mollari.NetBSD.org>
Date: Thu, 28 Dec 2017 11:45:34 +0000 (UTC)
From: n54@gmx.com
Reply-To: n54@gmx.com
To: gnats-bugs@NetBSD.org
Subject: RAIDFRAME_GET_ACCTOTALS unusable in userland
X-Send-Pr-Version: www-1.0
>Number: 52872
>Category: kern
>Synopsis: RAIDFRAME_GET_ACCTOTALS unusable in userland
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 28 11:50:00 +0000 2017
>Originator: Kamil Rytarowski
>Release: 8.99.9
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.9 NetBSD 8.99.9 (GENERIC) #0: Mon Dec 25 12:58:16 CET 2017 root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
ioctl(2) RAIDFRAME_GET_ACCTOTALS is unusable from userland
There is lack of RF_AccTotals_t definition in public headers.
>How-To-Repeat:
$ grep -r RF_AccTotals_t /usr/include/
/usr/include/dev/raidframe/raidframeio.h:#define RAIDFRAME_GET_ACCTOTALS _IOR ('r', 17, RF_AccTotals_t) /* retrieve AccTotals
>Fix:
Either remove the functionality or export needed date to userland.
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.