git: kernel - more procfs work

看板DFBSD_commit作者時間14年前 (2011/11/18 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 47538602cfcaf8cbba97edc7b0fe47de8088e694 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Nov 17 09:17:51 2011 -0800 kernel - more procfs work * uiomove_frombuf() takes care of indexing uio_offset and checking its range for us so we don't have to do it ourselves, clean up use cases in procfs. * Generate somewhat more consistent text output for /proc/<pid>/map by formatting the map entry range with static widths. * ps_nargvstr is a signed number, do a better range check on it. Summary of changes: sys/kern/kern_subr.c | 3 +- sys/vfs/procfs/procfs_dbregs.c | 12 +---------- sys/vfs/procfs/procfs_fpregs.c | 11 +--------- sys/vfs/procfs/procfs_map.c | 8 ++++++- sys/vfs/procfs/procfs_regs.c | 12 +---------- sys/vfs/procfs/procfs_rlimit.c | 14 +----------- sys/vfs/procfs/procfs_status.c | 42 +++++++++++++++++++-------------------- 7 files changed, 34 insertions(+), 68 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/47538602cfcaf8cbba97edc7b0fe47de8088e694 -- DragonFly BSD source repository
文章代碼(AID): #1EnKlohc (DFBSD_commit)