zfs/include/sys
behlendo e4f1d29f89 OK, some pretty substantial rework here. I've merged the spl-file
stuff which only inclused the getf()/releasef() in to the vnode area
where it will only really be used.  These calls allow a user to
grab an open file struct given only the known open fd for a particular
user context.  ZFS makes use of these, but they're a bit tricky to
test from within the kernel since you already need the file open
and know the fd.  So we basically spook the system calls to setup
the environment we need for the splat test case and verify given
just the know fd we can get the file, create the needed vnode, and
then use the vnode interface as usual to read and write from it.

While I was hacking away I also noticed a NULL termination issue
in the second kobj test case so I fixed that too.  In fact, I fixed
a few other things as well but all for the best!



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@51 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
2008-03-18 23:20:30 +00:00
..
fm - Add some more missing headers 2008-03-12 23:48:28 +00:00
fs Checkpoint for the night, 2008-03-05 00:58:54 +00:00
sysevent - Add some more missing headers 2008-03-12 23:48:28 +00:00
Makefile.am Remove spl.h, just include the headers you need. 2008-03-04 20:06:29 +00:00
acl.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
acl_impl.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
atomic.h Add some typedefs to make it clearer when we passing a function, 2008-03-10 19:25:20 +00:00
attr.h Just filling in more of the env. 2008-03-08 00:58:32 +00:00
byteorder.h - Add some more missing headers 2008-03-12 23:48:28 +00:00
callb.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
cmn_err.h Add some typedefs to make it clearer when we passing a function, 2008-03-10 19:25:20 +00:00
condvar.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
cred.h Missing headers, more minor fixes 2008-03-15 00:05:38 +00:00
ctype.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
ddi.h Drop unicode support, provided in ZFS tree libport 2008-03-13 19:49:09 +00:00
debug.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
dkio.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
dklabel.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
dnlc.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
errno.h Stub out some missing headers which are expected. I'll fill 2008-03-01 18:30:12 +00:00
int_limits.h Stub out some missing headers which are expected. I'll fill 2008-03-01 18:30:12 +00:00
int_types.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
inttypes.h Remove spl.h, just include the headers you need. 2008-03-04 20:06:29 +00:00
isa_defs.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
kidmap.h Apply fix from bug239 for rwlock deadlock. 2008-03-11 20:54:40 +00:00
kmem.h OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
kobj.h Drop unicode support, provided in ZFS tree libport 2008-03-13 19:49:09 +00:00
kstat.h Minor atomic cleanup, this needs to be done right. 2008-03-07 00:28:32 +00:00
mkdev.h Add missing headers 2008-03-14 00:04:01 +00:00
mntent.h Add missing headers 2008-03-14 00:04:01 +00:00
mode.h Add missing headers 2008-03-14 00:04:01 +00:00
mount.h Missing headers, more minor fixes 2008-03-15 00:05:38 +00:00
mutex.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
param.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
pathname.h Add missing headers 2008-03-14 00:04:01 +00:00
random.h Reorganize /include/ to add a /sys/, this way we don't need to 2008-03-01 00:45:59 +00:00
resource.h Add two more missing headers 2008-03-13 20:41:29 +00:00
rwlock.h Apply fix from bug239 for rwlock deadlock. 2008-03-11 20:54:40 +00:00
sdt.h Missing headers, more minor fixes 2008-03-15 00:05:38 +00:00
sid.h Apply fix from bug239 for rwlock deadlock. 2008-03-11 20:54:40 +00:00
signal.h Minimal signal handling interface. 2008-03-17 18:29:57 +00:00
stat.h Add two more missing headers 2008-03-13 20:41:29 +00:00
stropts.h Stub out some missing headers which are expected. I'll fill 2008-03-01 18:30:12 +00:00
sunddi.h Remove spl.h, just include the headers you need. 2008-03-04 20:06:29 +00:00
sunldi.h Add missing headers 2008-03-13 22:52:23 +00:00
sysevent.h - Add some more missing headers 2008-03-12 23:48:28 +00:00
sysmacros.h Minimal signal handling interface. 2008-03-17 18:29:57 +00:00
systeminfo.h Just filling in more of the env. 2008-03-08 00:58:32 +00:00
systm.h Remove spl.h, just include the headers you need. 2008-03-04 20:06:29 +00:00
taskq.h Two more GPL only symbols moved to helper functions in the spl module. 2008-03-11 02:08:57 +00:00
thread.h Add some typedefs to make it clearer when we passing a function, 2008-03-10 19:25:20 +00:00
time.h Fix KMEM_DEBUG support (enable by default) 2008-03-14 19:04:41 +00:00
timer.h Minor atomic cleanup, this needs to be done right. 2008-03-07 00:28:32 +00:00
types.h Initial pass at a file API getf/releasef hooks 2008-03-18 04:56:43 +00:00
types32.h Checkpoint for the night, 2008-03-05 00:58:54 +00:00
uio.h Drop unicode support, provided in ZFS tree libport 2008-03-13 19:49:09 +00:00
unistd.h Add missing headers 2008-03-14 00:04:01 +00:00
utsname.h Apply fix from bug239 for rwlock deadlock. 2008-03-11 20:54:40 +00:00
va_list.h Stub out some missing headers which are expected. I'll fill 2008-03-01 18:30:12 +00:00
varargs.h Add somre debugging support 2008-03-08 00:18:21 +00:00
vfs.h Missing headers, more minor fixes 2008-03-15 00:05:38 +00:00
vfs_opreg.h Add missing headers 2008-03-14 00:04:01 +00:00
vmsystm.h Missing headers, more minor fixes 2008-03-15 00:05:38 +00:00
vnode.h OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
zmod.h Add missing cred.h functions 2008-03-07 20:48:44 +00:00
zone.h - Add some more missing headers 2008-03-12 23:48:28 +00:00