Robert Watson f8f750c53e Do a bit more work in the aio code to simulate the credential environment
of the original AIO request: save and restore the active thread credential
as well as using the file credential, since MAC (and some other bits of
the system) rely on the thread credential instead of/as well as the
file credential.  In brief: cache td->td_ucred when the AIO operation
is queued, temporarily set and restore the kernel thread credential,
and release the credential when done.  Similar to ktrace credential
management.

Reviewed by:	alc
Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-07 20:46:37 +00:00
..
2002-03-25 13:52:45 +00:00
2002-11-05 17:48:04 +00:00
2002-10-29 20:51:44 +00:00
2002-10-31 08:00:51 +00:00
2002-11-05 17:51:56 +00:00
2002-10-11 10:36:22 +00:00
2002-10-31 08:00:51 +00:00
2002-09-05 11:42:03 +00:00
2002-06-29 02:00:02 +00:00
2002-03-19 21:25:46 +00:00
2002-03-19 21:25:46 +00:00
2002-10-01 13:15:11 +00:00
2002-10-02 09:09:25 +00:00
2002-09-11 08:13:56 +00:00
2002-11-05 17:48:04 +00:00
2002-08-15 02:10:12 +00:00
2002-03-19 21:25:46 +00:00