NetBSD-Bugs archive

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

Re: kern/53491: Bizarre definition of POWER_IOC_GET_TYPE_WITH_LOSSAGE



The following reply was made to PR kern/53491; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/53491: Bizarre definition of POWER_IOC_GET_TYPE_WITH_LOSSAGE
Date: Wed, 01 Aug 2018 23:20:57 +0700

 Note that if this gets changed, the ioctl command number will need to
 be changed as well, cannot have 2 that are 0 with the same _IOR and
 structure size.
 
 In this same area also see:
 
 src/sys/arch/landisk/include/button.h
 
 #define BUTTON_IOC_GET_TYPE      _IOR('P', 1, sizeof(struct button_type))
 
 and  src/sys/coda/coda.h
 
 #define CIOC_KERNEL_VERSION _IOWR('c', 10, sizeof (int))
 
 


Home | Main Index | Thread Index | Old Index