git: DEVFS - Separate ioctl struct from in-kernel struct
Alex Hornung
alexh at crater.dragonflybsd.org
Mon Aug 17 01:51:13 PDT 2009
commit 5704df1d1b4d7013a1c839663ff7b5fb0c697124
Author: Alex Hornung <ahornung at gmail.com>
Date: Thu Aug 13 12:06:00 2009 +0100
DEVFS - Separate ioctl struct from in-kernel struct
* Separate out an ioctl structure from the devfs_rule struct called
devfs_rule_ioctl.
This avoids unnecessary complications like copyin, and it avoids
problems caused by userland reporting wrong sizes.
* Also separate the rule_type from the rule_cmd into different fields
in both structs.
Suggested-By: Simon "corecode" Schubert
Summary of changes:
sys/vfs/devfs/devfs_rules.c | 71 +++++++++++++++++++++++--------------------
sys/vfs/devfs/devfs_rules.h | 40 +++++++++++++++++-------
2 files changed, 66 insertions(+), 45 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5704df1d1b4d7013a1c839663ff7b5fb0c697124
--
DragonFly BSD source repository
More information about the Commits
mailing list