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>
--- 451 unchanged lines hidden (view full) ---
489#endif
490 ES("Shared library version mismatch") },
491 { BSM_ERRNO_EBADMACHO,
492#ifdef EBADMACHO
493 EBADMACHO,
494#else
495 ERRNO_NO_LOCAL_MAPPING,
496#endif
497 ES("Malformed Macho file") },
498 { BSM_ERRNO_EPOLICY,
499#ifdef EPOLICY
500 EPOLICY,
501#else
502 ERRNO_NO_LOCAL_MAPPING,
503#endif
504 ES("Operation failed by policy") },
505 { BSM_ERRNO_EDOTDOT,
--- 156 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>
--- 451 unchanged lines hidden (view full) ---
489#endif
490 ES("Shared library version mismatch") },
491 { BSM_ERRNO_EBADMACHO,
492#ifdef EBADMACHO
493 EBADMACHO,
494#else
495 ERRNO_NO_LOCAL_MAPPING,
496#endif
497 ES("Malformed Macho file") },
498 { BSM_ERRNO_EPOLICY,
499#ifdef EPOLICY
500 EPOLICY,
501#else
502 ERRNO_NO_LOCAL_MAPPING,
503#endif
504 ES("Operation failed by policy") },
505 { BSM_ERRNO_EDOTDOT,
--- 156 unchanged lines hidden ---