On 28.02.2019 08:24, Iain Hibbert wrote:
> On Thu, 28 Feb 2019, Masanobu SAITOH wrote:
>
>> I'd like to get new number for new ioctl. How should I find unused number
>> for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
>> so I made usr.bin/kdump-ioctl.c and did
>>
>>
On 2019/02/28 16:54, matthew green wrote:
Iain Hibbert writes:
On Thu, 28 Feb 2019, Masanobu SAITOH wrote:
I'd like to get new number for new ioctl. How should I find unused number
for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
so I made usr.bin/kdump-ioctl.c an
Iain Hibbert writes:
> On Thu, 28 Feb 2019, Masanobu SAITOH wrote:
>
> > I'd like to get new number for new ioctl. How should I find unused number
> > for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
> > so I made usr.bin/kdump-ioctl.c and did
> >
> > grep \'i kdu
On Thu, 28 Feb 2019, Masanobu SAITOH wrote:
> I'd like to get new number for new ioctl. How should I find unused number
> for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
> so I made usr.bin/kdump-ioctl.c and did
>
> grep \'i kdump-ioctl.c | sort -n -k 5,5 | uni
> This might be FAQ...
>
> I'd like to get new number for new ioctl. How should I find unused number
> for it? I'm going to add new SIOCXXX. It may not enough to grep sys/net/*.h,
> so I made usr.bin/kdump-ioctl.c and did
>
> grep \'i kdump-ioctl.c | sort -n -k 5,5 | uniq | column -t
>