diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-04 16:45:52 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-04 16:45:52 +0000 |
commit | a8790234d5db9f72a75129b10df55da1475012a4 (patch) | |
tree | 1727bc17eb9e6fc1c3c270d72438a9c02374fe6b /contrib/openbsm/bsm/audit.h | |
parent | 57ceefb9d9f44e8ea3884412a34bf5070f8fdf14 (diff) | |
parent | ab71945909ae42af4e5fa0802d62298315b31281 (diff) | |
download | FreeBSD-src-a8790234d5db9f72a75129b10df55da1475012a4.zip FreeBSD-src-a8790234d5db9f72a75129b10df55da1475012a4.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r156283,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/openbsm/bsm/audit.h')
-rw-r--r-- | contrib/openbsm/bsm/audit.h | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/contrib/openbsm/bsm/audit.h b/contrib/openbsm/bsm/audit.h index 1d208c1..8739b2a 100644 --- a/contrib/openbsm/bsm/audit.h +++ b/contrib/openbsm/bsm/audit.h @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#14 $ + * $P4: //depot/projects/trustedbsd/openbsm/bsm/audit.h#15 $ */ #ifndef _BSM_AUDIT_H @@ -240,25 +240,11 @@ struct auditpinfo_addr { }; typedef struct auditpinfo_addr auditpinfo_addr_t; -/* Token and record structures. */ - -struct au_token { - u_char *t_data; - size_t len; - TAILQ_ENTRY(au_token) tokens; -}; +/* + * Contents of token_t are opaque outside of libbsm. + */ typedef struct au_token token_t; -struct au_record { - char used; /* Record currently in use? */ - int desc; /* Descriptor for record. */ - TAILQ_HEAD(, au_token) token_q; /* Queue of BSM tokens. */ - u_char *data; - size_t len; - LIST_ENTRY(au_record) au_rec_q; -}; -typedef struct au_record au_record_t; - /* * Kernel audit queue control parameters. */ @@ -310,6 +296,9 @@ struct au_evclass_map { }; typedef struct au_evclass_map au_evclass_map_t; +/* + * Audit system calls. + */ #if !defined(_KERNEL) && !defined(KERNEL) int audit(const void *, int); int auditon(int, void *, int); |