Add 'maps' to #proc
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 6 Sep 2016 20:18:04 +0000 (16:18 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Sep 2016 16:38:17 +0000 (12:38 -0400)
commit6e3086c27cad7b59680193ea40f85feab52ab04a
treee0fe03a1f945b9386efd6872e42aaec771c0cab6
parent64c7bf38f7ab6cef0d860b96362c44c8dd48178a
Add 'maps' to #proc

You can now cat /proc/self/maps, or that of any other process in #proc.
The format of each line is the same as Linux's.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/proc.c