152267f74SRobert Watson/*- 252267f74SRobert Watson * Copyright (c) 1999-2007 Apple Inc. 352267f74SRobert Watson * All rights reserved. 452267f74SRobert Watson * 552267f74SRobert Watson * Redistribution and use in source and binary forms, with or without 652267f74SRobert Watson * modification, are permitted provided that the following conditions 752267f74SRobert Watson * are met: 852267f74SRobert Watson * 1. Redistributions of source code must retain the above copyright 952267f74SRobert Watson * notice, this list of conditions and the following disclaimer. 1052267f74SRobert Watson * 2. Redistributions in binary form must reproduce the above copyright 1152267f74SRobert Watson * notice, this list of conditions and the following disclaimer in the 1252267f74SRobert Watson * documentation and/or other materials provided with the distribution. 1352267f74SRobert Watson * 3. Neither the name of Apple Inc. ("Apple") nor the names of 1452267f74SRobert Watson * its contributors may be used to endorse or promote products derived 1552267f74SRobert Watson * from this software without specific prior written permission. 1652267f74SRobert Watson * 1752267f74SRobert Watson * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND 1852267f74SRobert Watson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1952267f74SRobert Watson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2052267f74SRobert Watson * ARE DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR 2152267f74SRobert Watson * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2252267f74SRobert Watson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2352267f74SRobert Watson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2452267f74SRobert Watson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 2552267f74SRobert Watson * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 2652267f74SRobert Watson * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2752267f74SRobert Watson * POSSIBILITY OF SUCH DAMAGE. 2852267f74SRobert Watson */ 2952267f74SRobert Watson 3052267f74SRobert Watson/* 3152267f74SRobert Watson * Exported client calls to the auditd facility. 3252267f74SRobert Watson */ 3352267f74SRobert Watson 3452267f74SRobert WatsonSubsystem 3552267f74SRobert Watson KernelUser 3652267f74SRobert Watson auditd_control 456; 3752267f74SRobert Watson 3852267f74SRobert Watson#ifndef __MigTypeCheck 3952267f74SRobert Watson#define __MigTypeCheck 1 4052267f74SRobert Watson#endif 4152267f74SRobert Watson 4252267f74SRobert Watson#include <mach/std_types.defs> 4352267f74SRobert Watson#include <mach/mach_types.defs> 4452267f74SRobert Watson 4552267f74SRobert Watsonsimpleroutine auditd_control( 4652267f74SRobert Watson auditd_port : mach_port_t; 4752267f74SRobert Watson in trigger : int); 48