Augment falloc() to support thread-only file pointers (with no integer file
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Oct 2003 18:01:28 +0000 (18:01 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Oct 2003 18:01:28 +0000 (18:01 +0000)
commit39f915780c75e3ece488310d95e27fee857c71a5
treedef7bfe97ef21e82db506864b10475c5ca6c0ce9
parente8e45f9a5988640db3e618f1e2842806986d394d
Augment falloc() to support thread-only file pointers (with no integer file
descriptor or process).

Add new generic 'easy to use' fp_*() kernel functions which operate on file
pointers.  This will greatly ease in-kernel functions which must open,
perform I/O, and close files.

Adopted from: other kernel sources and Kip Macy's checkpoint code.
sys/conf/files
sys/kern/kern_descrip.c
sys/kern/kern_fp.c [new file with mode: 0644]
sys/sys/file.h