1/*-
2 * Copyright (c) 2008 Apple 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 * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#17 $
30 */
31
32#include <sys/types.h>
33
34#include <config/config.h>
35
36#include <bsm/audit_errno.h>
37#include <bsm/libbsm.h>
--- 410 unchanged lines hidden (view full) ---
448 { BSM_ERRNO_ETIMEDOUT, ETIMEDOUT, ES("Operation timed out") },
449 { BSM_ERRNO_ECONNREFUSED, ECONNREFUSED, ES("Connection refused") },
450 { BSM_ERRNO_EHOSTDOWN, EHOSTDOWN, ES("Host is down") },
451 { BSM_ERRNO_EHOSTUNREACH, EHOSTUNREACH, ES("No route to host") },
452 { BSM_ERRNO_EALREADY, EALREADY, ES("Operation already in progress") },
453 { BSM_ERRNO_EINPROGRESS, EINPROGRESS,
454 ES("Operation now in progress") },
455 { BSM_ERRNO_ESTALE, ESTALE, ES("Stale NFS file handle") },
456 { BSM_ERRNO_EPWROFF,
457#ifdef EPWROFF
458 EPWROFF,
459#else
460 ERRNO_NO_LOCAL_MAPPING,
461#endif
462 ES("Device power is off") },
463 { BSM_ERRNO_EDEVERR,
--- 198 unchanged lines hidden ---
2 * Copyright (c) 2008 Apple 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 * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_errno.c#17 $
30 */
31
32#include <sys/types.h>
33
34#include <config/config.h>
35
36#include <bsm/audit_errno.h>
37#include <bsm/libbsm.h>
--- 410 unchanged lines hidden (view full) ---
448 { BSM_ERRNO_ETIMEDOUT, ETIMEDOUT, ES("Operation timed out") },
449 { BSM_ERRNO_ECONNREFUSED, ECONNREFUSED, ES("Connection refused") },
450 { BSM_ERRNO_EHOSTDOWN, EHOSTDOWN, ES("Host is down") },
451 { BSM_ERRNO_EHOSTUNREACH, EHOSTUNREACH, ES("No route to host") },
452 { BSM_ERRNO_EALREADY, EALREADY, ES("Operation already in progress") },
453 { BSM_ERRNO_EINPROGRESS, EINPROGRESS,
454 ES("Operation now in progress") },
455 { BSM_ERRNO_ESTALE, ESTALE, ES("Stale NFS file handle") },
456 { BSM_ERRNO_EPWROFF,
457#ifdef EPWROFF
458 EPWROFF,
459#else
460 ERRNO_NO_LOCAL_MAPPING,
461#endif
462 ES("Device power is off") },
463 { BSM_ERRNO_EDEVERR,
--- 198 unchanged lines hidden ---