summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_trigger.c
Commit message (Collapse)AuthorAgeFilesLines
* Generally avoid <space><tab> as a white space anomoly.rwatson2008-07-221-5/+5
| | | | | Obtained from: Apple Inc. MFC after: 3 days
* Use __FBSDID() for $FreeBSD$ IDs in the audit code.rwatson2008-04-131-2/+3
| | | | MFC after: 3 days
* Rather than copying out the full audit trigger record, which includesrwatson2008-03-021-1/+1
| | | | | | | | a queue entry field, just copy out the unsigned int that is the trigger message. In practice, auditd always requested sizeof(unsigned int), so the extra bytes were ignored, but copying them out was not the intent. MFC after: 1 month
* Rename globally exposed symbol send_trigger() to audit_send_trigger().rwatson2008-03-011-1/+1
| | | | MFC after: 1 month
* Close a very narrow race that might cause a trigger allocation to berwatson2007-06-131-7/+6
| | | | | | leaked if a trigger is delivered as the trigger device is closed. Obtained from: TrustedBSD Project
* Update a number of comments:rwatson2006-12-281-2/+7
| | | | | | | | | | | | - Replace XXX with Note: in several cases where observations are made about future functionality rather than problems or bugs. - Remove an XXX comment about byte order and au_to_ip() -- IP headers must be submitted in network byte order. Add a comment to this effect. - Mention that we don't implement select/poll for /dev/audit. Obtained from: TrustedBSD Project
* Prefer C to C++ comments per style(9).rwatson2006-06-081-1/+1
| | | | | Perforce CID: 98826 Obtained from: TrustedBSD Project
* Merge perforce change 93199:rwatson2006-03-181-2/+3
| | | | | | | | | | Change send_trigger() prototype to return an int, so that user space callers can tell if the message was successfully placed in the trigger queue. This isn't quite the same as it being successfully received, but is close enough that we can generate a more useful warning message in audit(8). Obtained from: TrustedBSD Project
* Import kernel audit framework:rwatson2006-02-011-0/+172
- Management of audit state on processes. - Audit system calls to configure process and system audit state. - Reliable audit record queue implementation, audit_worker kernel thread to asynchronously store records on disk. - Audit event argument. - Internal audit data structure -> BSM audit trail conversion library. - Audit event pre-selection. - Audit pseudo-device permitting kernel->user upcalls to notify auditd of kernel audit events. Much work by: wsalamon Obtained from: TrustedBSD Project, Apple Computer, Inc.
OpenPOWER on IntegriCloud