diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-02-08 14:39:35 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-02-08 14:39:35 +0000 |
commit | 3c9475069f16f7e6f3109720543a3182a399c39a (patch) | |
tree | b8498df382f6052fb9248a8e52e80298d9693405 /sys/security/audit/audit_private.h | |
parent | 0f48dc75aa96065ce62a300ff7822b8bca65141a (diff) | |
download | FreeBSD-src-3c9475069f16f7e6f3109720543a3182a399c39a.zip FreeBSD-src-3c9475069f16f7e6f3109720543a3182a399c39a.tar.gz |
Change various routines that are responsible for transforming audit
event IDs based on arguments to return au_event_t rather than int.
Obtained from: TrustedBSD Project
Sponsored by: Apple, Inc.
MFC after: 1 week
Diffstat (limited to 'sys/security/audit/audit_private.h')
-rw-r--r-- | sys/security/audit/audit_private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/audit/audit_private.h b/sys/security/audit/audit_private.h index b79d966..ec5beb5 100644 --- a/sys/security/audit/audit_private.h +++ b/sys/security/audit/audit_private.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 1999-2005 Apple Inc. + * Copyright (c) 1999-2009 Apple Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -306,10 +306,10 @@ void au_evclassmap_insert(au_event_t event, au_class_t class); au_class_t au_event_class(au_event_t event); au_event_t audit_ctlname_to_sysctlevent(int name[], uint64_t valid_arg); au_event_t audit_flags_and_error_to_openevent(int oflags, int error); -int audit_msgctl_to_event(int cmd); -int audit_semctl_to_event(int cmr); +au_event_t audit_msgctl_to_event(int cmd); +au_event_t audit_semctl_to_event(int cmr); void audit_canon_path(struct thread *td, char *path, char *cpath); -int auditon_command_event(int cmd); +au_event_t auditon_command_event(int cmd); /* * Audit trigger events notify user space of kernel audit conditions |