git: DEVFS - Separate ioctl struct from in-kernel struct

看板DFBSD_commit作者時間16年前 (2009/08/17 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AYHnMQP (DFBSD_commit)