diff options
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/audit/audit.h | 2 | ||||
-rw-r--r-- | sys/security/audit/audit_private.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h index 9481c14..14dbcfd 100644 --- a/sys/security/audit/audit.h +++ b/sys/security/audit/audit.h @@ -180,8 +180,6 @@ void audit_cred_proc1(struct ucred *cred); void audit_proc_coredump(struct thread *td, char *path, int errcode); void audit_thread_alloc(struct thread *td); void audit_thread_free(struct thread *td); -void audit_set_kinfo(struct auditinfo_addr *); -void audit_get_kinfo(struct auditinfo_addr *); /* * Define a macro to wrap the audit_arg_* calls by checking the global diff --git a/sys/security/audit/audit_private.h b/sys/security/audit/audit_private.h index 395d8c0..f81ce56 100644 --- a/sys/security/audit/audit_private.h +++ b/sys/security/audit/audit_private.h @@ -319,6 +319,12 @@ void audit_trigger_init(void); int audit_send_trigger(unsigned int trigger); /* + * Accessor functions to manage global audit state. + */ +void audit_set_kinfo(struct auditinfo_addr *); +void audit_get_kinfo(struct auditinfo_addr *); + +/* * General audit related functions. */ struct kaudit_record *currecord(void); |