summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_alq.c
Commit message (Collapse)AuthorAgeFilesLines
* Modify the alq(9) alq_open() API to accept a file creation mode, ratherrwatson2005-04-161-3/+3
| | | | | | | | | than defaulting the cmode argument to vn_open() to 0. Supply a default argument of ALQ_DEFAULT_CMODE (0600) in current callers. Discussed with/pointed out by: hmp Reveiwed by: jeff, hmp MFC after: 3 days
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Allow MAC policies to block/revoke kern_alq write access to a file.rwatson2003-10-251-2/+10
| | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Reviewed by: jeff
* Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.phk2003-07-271-1/+1
|
* Add an explicit credential argument to alq_open() to allow the caller torwatson2003-06-221-3/+4
| | | | | | | | | | | specify what credential to use when authorizing vn_open() and later write operations, rather than curthread->td_ucred. When writing KTR traces to an ALQ, specify the credential of the thread generating the sysctl request. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Use __FBSDID().obrien2003-06-111-3/+3
|
* - Reset the free ent to NULL if we have consumed the last free entry. Thisjeff2003-05-251-0/+2
| | | | | | | | fixes a problem where we would overwrite old data if we ran out of free entries. Submitted by: sam Approved by: re (scottl)
* Back out M_* changes, per decision of the TRB.imp2003-02-191-3/+3
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-3/+3
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* - Export the alq daemon thread pointer.jeff2002-09-261-4/+7
| | | | - Don't log ktr events from the alq daemon.
* - Hold the credential of the caller and use it in all subsequent vn ops.jeff2002-09-231-6/+7
| | | | | | - Get rid of the ill conceived aq_td field. Suggested by: rwatson
* - Add an asynchronous fixed length record logging mechanism calledjeff2002-09-221-0/+499
ALQ (Asynch. Logging Queues). ALQ supports many seperate queues with different record and buffer sizes. It opens and logs to any vnode so it can be used with character devices as well as regular files. Reviewed in part by: phk, jake, markm
OpenPOWER on IntegriCloud