sys/sys: Fix IOCPARM_MAX
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 29 May 2016 02:23:29 +0000 (11:23 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 2 Jun 2016 22:42:53 +0000 (07:42 +0900)
commit74b5eb2394c72667536e2c7115616aa8a7e8b612
treeb7161f1813b51d7060a2e6d81ccc25482fbacb55
parentef5bed6526bbb76169083db5c11e2b9bd99837c9
sys/sys: Fix IOCPARM_MAX

Fix the previous commit brought in from from FreeBSD@GitHub
598dc07f1ee077b425c2f447aeb3dfb632a1f2a3.

The max possible size for ioctl structure is ((1<<13)-1).
(1<<13) bit overlaps IOC_VOID, so it gets cut by _IOC().
Also see L672 of sys/kern/sys_generic.c.
sys/sys/ioccom.h