1/* 2 * Copyright (c) 1999-2005 Apple Computer, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/security/audit/audit.h 156882 2006-03-19 15:37:04Z rwatson $ |
30 */ 31 32/* 33 * This header includes function prototypes and type definitions that are 34 * necessary for the kernel as a whole to interact with the audit subsystem. 35 */ 36 |
37#ifndef _SECURITY_AUDIT_KERNEL_H_ 38#define _SEUCRITY_AUDIT_KERNEL_H_ |
39 40#ifndef _KERNEL 41#error "no user-serviceable parts inside" 42#endif 43 44#include <bsm/audit.h> 45 46#include <sys/file.h> --- 184 unchanged lines hidden (view full) --- 231#define AUDIT_SYSCALL_EXIT(error, td) do { \ 232 } while (0) 233 234#define AUDIT_SYSCLOSE(p, fd) do { \ 235 } while (0) 236 237#endif /* AUDIT */ 238 |
239#endif /* !_SECURITY_AUDIT_KERNEL_H_ */ |