DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DEVFS - Separate ioctl struct from in-kernel struct
commit 5704df1d1b4d7013a1c839663ff7b5fb0c697124
Author: Alex Hornung <ahornung@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]