DragonFly commits List (threaded) for 2011-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - more procfs work
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]