VFS helpers for reading files in kernel mode
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 19 Feb 2015 16:41:00 +0000 (11:41 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 1 Mar 2015 14:36:16 +0000 (09:36 -0500)
commit1210f4d7853787ce88dc5fb5a9e937fb853bea13
tree1a99d41a77ccbb99f77e973abe1d5210be2889bc
parent4a5290d2e428e03d076759a176b091001b81e365
VFS helpers for reading files in kernel mode

It's a minor pain, esp due to the memcpy_to_user() business deep in
generic_file_read().
kern/include/vfs.h
kern/src/vfs.c