git: sys/sys: Protect len and inout parameters in _IOC definition.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Mon Jul 4 02:50:59 PDT 2016
commit af4654051f87992d19a5f76d0f729854989c4990
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Thu Jun 30 13:17:44 2016 +0300
sys/sys: Protect len and inout parameters in _IOC definition.
This should reduce the likelihood of _IOC() macro expanding to something
that wasn't intended and would provide a more flexible interface too.
While there, remove hardcoded value for IOC_DIRMASK
Taken-from: FreeBSD
Summary of changes:
sys/sys/ioccom.h | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/af4654051f87992d19a5f76d0f729854989c4990
--
DragonFly BSD source repository
More information about the Commits
mailing list