Deleted Added
full compact
audit_errno.h (187214) audit_errno.h (219128)
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

--- 13 unchanged lines hidden (view full) ---

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/sys/bsm/audit_errno.h#5
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

--- 13 unchanged lines hidden (view full) ---

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/sys/bsm/audit_errno.h#5
30 * $FreeBSD: head/sys/bsm/audit_errno.h 187214 2009-01-14 10:44:16Z rwatson $
30 * $FreeBSD: head/sys/bsm/audit_errno.h 219128 2011-03-01 13:14:28Z rwatson $
31 */
32
33#ifndef _BSM_AUDIT_ERRNO_H_
34#define _BSM_AUDIT_ERRNO_H_
35
36/*
37 * For the purposes of portable encoding, we convert between local error
38 * numbers and Solaris error numbers (as well as some extensions for error

--- 161 unchanged lines hidden (view full) ---

200#define BSM_ERRNO_EISNAM 215 /* Linux(Xenix?)-specific. */
201#define BSM_ERRNO_EREMOTEIO 216 /* Linux-specific. */
202#define BSM_ERRNO_ENOMEDIUM 217 /* Linux-specific. */
203#define BSM_ERRNO_EMEDIUMTYPE 218 /* Linux-specific. */
204#define BSM_ERRNO_ENOKEY 219 /* Linux-specific. */
205#define BSM_ERRNO_EKEYEXPIRED 220 /* Linux-specific. */
206#define BSM_ERRNO_EKEYREVOKED 221 /* Linux-specific. */
207#define BSM_ERRNO_EKEYREJECTED 222 /* Linux-specific. */
31 */
32
33#ifndef _BSM_AUDIT_ERRNO_H_
34#define _BSM_AUDIT_ERRNO_H_
35
36/*
37 * For the purposes of portable encoding, we convert between local error
38 * numbers and Solaris error numbers (as well as some extensions for error

--- 161 unchanged lines hidden (view full) ---

200#define BSM_ERRNO_EISNAM 215 /* Linux(Xenix?)-specific. */
201#define BSM_ERRNO_EREMOTEIO 216 /* Linux-specific. */
202#define BSM_ERRNO_ENOMEDIUM 217 /* Linux-specific. */
203#define BSM_ERRNO_EMEDIUMTYPE 218 /* Linux-specific. */
204#define BSM_ERRNO_ENOKEY 219 /* Linux-specific. */
205#define BSM_ERRNO_EKEYEXPIRED 220 /* Linux-specific. */
206#define BSM_ERRNO_EKEYREVOKED 221 /* Linux-specific. */
207#define BSM_ERRNO_EKEYREJECTED 222 /* Linux-specific. */
208#define BSM_ERRNO_ENOTCAPABLE 223 /* FreeBSD-specific. */
209#define BSM_ERRNO_ECAPMODE 224 /* FreeBSD-specific. */
208
209/*
210 * In the event that OpenBSM doesn't have a file representation of a local
211 * error number, use this.
212 */
213#define BSM_ERRNO_UNKNOWN 250 /* OpenBSM-specific. */
214
215#endif /* !_BSM_AUDIT_ERRNO_H_ */
210
211/*
212 * In the event that OpenBSM doesn't have a file representation of a local
213 * error number, use this.
214 */
215#define BSM_ERRNO_UNKNOWN 250 /* OpenBSM-specific. */
216
217#endif /* !_BSM_AUDIT_ERRNO_H_ */