Deleted Added
full compact
bsm_errno.c (186647) bsm_errno.c (186650)
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

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

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#12
30 */
31
32#include <sys/cdefs.h>
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

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

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#12
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/security/audit/audit_bsm_errno.c 186647 2008-12-31 11:12:24Z rwatson $");
33__FBSDID("$FreeBSD: head/sys/security/audit/audit_bsm_errno.c 186650 2008-12-31 13:56:31Z rwatson $");
34
34
35#include <sys/types.h>
35#include <sys/param.h>
36
36
37#include <security/audit/audit.h>
38
37#include <bsm/audit_errno.h>
39#include <bsm/audit_errno.h>
38#include <bsm/libbsm.h>
40#include <bsm/audit_record.h>
39
40#include <sys/errno.h>
41
42/*
43 * Different operating systems use different numeric constants for different
44 * error numbers, and sometimes error numbers don't exist in more than one
45 * operating system. These routines convert between BSM and local error
46 * number spaces, subject to the above realities. BSM error numbers are

--- 596 unchanged lines hidden ---
41
42#include <sys/errno.h>
43
44/*
45 * Different operating systems use different numeric constants for different
46 * error numbers, and sometimes error numbers don't exist in more than one
47 * operating system. These routines convert between BSM and local error
48 * number spaces, subject to the above realities. BSM error numbers are

--- 596 unchanged lines hidden ---