rwatson
4d39491e7e
In sendfile(), use the vn_rdwr() helper function, rather than manually
...
constructing a struct aio and invoking VOP_READ() directly. This cleans
up the code a little, but also has the advantage of making sure almost
all vnode read/write access in the kernel goes through the helper
function, meaning that instrumentation of that helper function can impact
almost all relevant read/write operations. In this case, it permits us
to put MAC hooks into vn_rdwr() and not modify uipc_syscalls.c (yet).
In general, if helper vn_*() functions exist, they should be used in
preference to direct VOP's in system call service code.
Submitted by: green
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-04-19 13:46:24 +00:00
..
2002-04-04 23:39:10 +00:00
2002-04-09 20:10:46 +00:00
2002-04-19 13:35:53 +00:00
2002-04-17 13:06:36 +00:00
2002-04-09 19:58:38 +00:00
2002-04-15 12:11:06 +00:00
2002-04-19 00:45:29 +00:00
2002-04-17 17:51:10 +00:00
2002-04-19 00:45:29 +00:00
2002-04-16 17:04:21 +00:00
2002-04-16 17:11:34 +00:00
2002-04-11 21:03:35 +00:00
2002-04-04 21:03:38 +00:00
2002-04-06 08:44:04 +00:00
2002-04-16 17:11:34 +00:00
2002-04-10 01:14:45 +00:00
2002-04-04 21:03:38 +00:00
2002-04-15 05:24:01 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 20:52:27 +00:00
2002-04-19 09:20:13 +00:00
2002-04-16 17:03:05 +00:00
2002-04-16 17:06:11 +00:00
2002-04-16 17:11:34 +00:00
2002-04-04 21:03:38 +00:00
2002-04-08 06:59:13 +00:00
2002-04-16 17:11:34 +00:00
2002-04-04 20:49:35 +00:00
2002-04-15 12:23:11 +00:00
2002-04-15 12:23:11 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 23:39:10 +00:00
2002-04-09 15:43:32 +00:00
2002-04-04 21:03:38 +00:00
2002-04-08 09:20:07 +00:00
2002-04-04 21:03:38 +00:00
2002-04-17 13:06:36 +00:00
2002-04-04 21:03:38 +00:00
2002-04-15 12:23:11 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 23:39:10 +00:00
2002-04-05 10:00:37 +00:00
2002-04-04 21:03:38 +00:00
2002-04-04 17:49:48 +00:00
2002-04-04 20:52:27 +00:00
2002-04-16 17:03:05 +00:00
2002-04-04 21:03:38 +00:00
2002-04-13 20:09:06 +00:00
2002-04-14 17:12:55 +00:00
2002-04-17 13:06:36 +00:00
2002-04-17 13:05:13 +00:00
2002-04-16 17:09:22 +00:00
2002-04-16 17:09:22 +00:00
2002-04-19 04:46:24 +00:00
2002-04-12 00:01:50 +00:00
2002-04-08 03:04:22 +00:00
2002-04-19 13:46:24 +00:00
2002-04-16 17:11:34 +00:00
2002-04-04 21:03:38 +00:00
2002-04-09 05:14:17 +00:00
2002-04-17 13:06:36 +00:00
2002-04-17 01:07:29 +00:00
2002-04-17 13:06:36 +00:00
2002-04-04 21:03:38 +00:00
2002-04-17 01:07:29 +00:00
2002-04-16 17:11:34 +00:00