1184902Srwatson/*-
2184902Srwatson * Copyright (c) 1999-2007 Apple Inc.
3184902Srwatson * All rights reserved.
4184902Srwatson *
5184902Srwatson * Redistribution and use in source and binary forms, with or without
6184902Srwatson * modification, are permitted provided that the following conditions
7184902Srwatson * are met:
8184902Srwatson * 1.  Redistributions of source code must retain the above copyright
9184902Srwatson *     notice, this list of conditions and the following disclaimer.
10184902Srwatson * 2.  Redistributions in binary form must reproduce the above copyright
11184902Srwatson *     notice, this list of conditions and the following disclaimer in the
12184902Srwatson *     documentation and/or other materials provided with the distribution.
13184902Srwatson * 3.  Neither the name of Apple Inc. ("Apple") nor the names of
14184902Srwatson *     its contributors may be used to endorse or promote products derived
15184902Srwatson *     from this software without specific prior written permission.
16184902Srwatson *
17184902Srwatson * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND
18184902Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19184902Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20184902Srwatson * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR
21184902Srwatson * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22184902Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23184902Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24184902Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25184902Srwatson * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
26184902Srwatson * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27184902Srwatson * POSSIBILITY OF SUCH DAMAGE.
28184902Srwatson *
29184902Srwatson * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_control.defs#2 $
30184902Srwatson */
31184902Srwatson
32184902Srwatson/*
33184902Srwatson * Exported client calls to the auditd facility.
34184902Srwatson */
35184902Srwatson
36184902SrwatsonSubsystem
37184902Srwatson	KernelUser
38184902Srwatson	auditd_control 	456;
39184902Srwatson
40184902Srwatson#ifndef __MigTypeCheck
41184902Srwatson#define 	__MigTypeCheck	1
42184902Srwatson#endif
43184902Srwatson
44184902Srwatson#include <mach/std_types.defs>
45184902Srwatson#include <mach/mach_types.defs>
46184902Srwatson
47184902Srwatsonsimpleroutine auditd_control(
48184902Srwatson			auditd_port	:	mach_port_t; 
49184902Srwatson		in	trigger		:	int);
50