linprocfs - further fix /proc/{pid}/maps
authorAlex Hornung <ahornung@gmail.com>
Wed, 24 Mar 2010 20:26:55 +0000 (20:26 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 24 Mar 2010 20:33:14 +0000 (20:33 +0000)
commit3c792b83f8f961544eb668b3d15c0a0c91f8c602
tree6ab0d29757e7058f63746768e18c53c0a22fab0f
parent5b4cfb7e2cafb8792350bd0bf8f91934e8035c29
linprocfs - further fix /proc/{pid}/maps

* Change to use sbufs instead of ksprintf and don't copy out to userland
  until done parsing maps.

* Avoid using EFBIG, since linux programs don't understand it.

* Make use of the new vn_fullpath guessing so that it is likely that we
  get the right path.

* Fix a bug when fullpath was NULL.

Reported-by: Samuel J. Greear
sys/emulation/linux/i386/linprocfs/linprocfs_misc.c