auditwrite.h revision 943
335N/A * Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. 335N/A * Permission is hereby granted, free of charge, to any person obtaining a 1370N/A * copy of this software and associated documentation files (the "Software"), 335N/A * to deal in the Software without restriction, including without limitation 335N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 919N/A * and/or sell copies of the Software, and to permit persons to whom the 919N/A * Software is furnished to do so, subject to the following conditions: 919N/A * The above copyright notice and this permission notice (including the next 919N/A * paragraph) shall be included in all copies or substantial portions of the 919N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 919N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 919N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 919N/A * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 919N/A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 919N/A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 919N/A * DEALINGS IN THE SOFTWARE. 911N/A * This file contains declarations and defines for use with 970N/A/* Mandatory last arg on auditwrite(3) invocation line */ #
define AW_SAVERD (
14)
/* Attach save buffer. */#
define AW_SERVER (
15)
/* We're a trusted server. */#
define AW_USERD (
16)
/* Use recbuf descriptor. */#
define AW_WRITE (
17)
/* Write to trail. */ * Attribute commands. These tell audiwrite(3) what kind #
define AW_XOBJ (
65)
/* OBSOLETE */ * The next is the last and highest numbered valid command code; if more * describe data specified with AW_DATA * describe how to print data specified with AW_DATA * auditwrite(3) error indicators extern int auditwrite(
int, ...);
/* writes audit records */ extern void aw_perror(
const char *);
/* print error */ extern void aw_perror_r(
const int,
const char *);
/* print error for */ extern int aw_geterrno(
const int);
/* get error for record descriptor */ extern char *
aw_strerror(
const int);
/* format error into string */ #
endif /* _BSM_AUDITWRITE_H */