summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_bsm_klib.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-02-08 14:39:35 +0000
committerrwatson <rwatson@FreeBSD.org>2009-02-08 14:39:35 +0000
commit3c9475069f16f7e6f3109720543a3182a399c39a (patch)
treeb8498df382f6052fb9248a8e52e80298d9693405 /sys/security/audit/audit_bsm_klib.c
parent0f48dc75aa96065ce62a300ff7822b8bca65141a (diff)
downloadFreeBSD-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_bsm_klib.c')
-rw-r--r--sys/security/audit/audit_bsm_klib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/audit/audit_bsm_klib.c b/sys/security/audit/audit_bsm_klib.c
index a75a68b..547e09a 100644
--- a/sys/security/audit/audit_bsm_klib.c
+++ b/sys/security/audit/audit_bsm_klib.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999-2008 Apple Inc.
+ * Copyright (c) 1999-2009 Apple Inc.
* Copyright (c) 2005 Robert N. M. Watson
* All rights reserved.
*
@@ -346,7 +346,7 @@ audit_flags_and_error_to_openevent(int oflags, int error)
/*
* Convert a MSGCTL command to a specific event.
*/
-int
+au_event_t
audit_msgctl_to_event(int cmd)
{
@@ -369,7 +369,7 @@ audit_msgctl_to_event(int cmd)
/*
* Convert a SEMCTL command to a specific event.
*/
-int
+au_event_t
audit_semctl_to_event(int cmd)
{
@@ -413,7 +413,7 @@ audit_semctl_to_event(int cmd)
/*
* Convert a command for the auditon() system call to a audit event.
*/
-int
+au_event_t
auditon_command_event(int cmd)
{
OpenPOWER on IntegriCloud