NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52872: RAIDFRAME_GET_ACCTOTALS unusable in userland



>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.



Home | Main Index | Thread Index | Old Index