看板 DFBSD_commit 關於我們 聯絡資訊
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