kernel - more procfs work
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Nov 2011 17:17:51 +0000 (09:17 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 17 Nov 2011 17:17:51 +0000 (09:17 -0800)
commit47538602cfcaf8cbba97edc7b0fe47de8088e694
tree65c44fa8574f96c99b819d6a3b4ae8c3ad1907d1
parenteb2adbf513fa1db03b9e8e7b61fcaf511babd367
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.
sys/kern/kern_subr.c
sys/vfs/procfs/procfs_dbregs.c
sys/vfs/procfs/procfs_fpregs.c
sys/vfs/procfs/procfs_map.c
sys/vfs/procfs/procfs_regs.c
sys/vfs/procfs/procfs_rlimit.c
sys/vfs/procfs/procfs_status.c