forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm build along with man pages, add audit_bsm_domain.c and audit_bsm_socket_type.c to the kernel environment. OpenBSM history for imported revisions below for reference. MFC after: 1 month Sponsored by: Apple Inc. Obtained from: TrustedBSD Project OpenBSM 1.1 alpha 5 - Stub libauditd(3) man page added. - All BSM error number constants with BSM_ERRNO_. - Interfaces to convert between local and BSM socket types and protocol families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3), au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions of constants in audit_domain.h and audit_socket_type.h. This improves interoperability by converting local constant spaces, which vary by OS, to and from Solaris constants (where available) or OpenBSM constants for protocol domains not present in Solaris (a fair number). These routines should be used when generating and interpreting extended socket tokens. - Fix build warnings with full gcc warnings enabled on most supported platforms. - Don't compile error strings into bsm_errno.c when building it in the kernel environment. - When started by launchd, use the label com.apple.auditd rather than org.trustedbsd.auditd.
- Loading branch information
Showing
106 changed files
with
2,881 additions
and
904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
OPENBSM_1_1_ALPHA_4 | ||
OPENBSM_1_1_ALPHA_5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#! /bin/sh | ||
# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#47 . | ||
# From configure.ac P4: //depot/projects/trustedbsd/openbsm/configure.ac#49 . | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.61 for OpenBSM 1.1alpha4. | ||
# Generated by GNU Autoconf 2.61 for OpenBSM 1.1alpha5. | ||
# | ||
# Report bugs to <[email protected]>. | ||
# | ||
|
@@ -729,8 +729,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} | |
# Identity of this package. | ||
PACKAGE_NAME='OpenBSM' | ||
PACKAGE_TARNAME='openbsm' | ||
PACKAGE_VERSION='1.1alpha4' | ||
PACKAGE_STRING='OpenBSM 1.1alpha4' | ||
PACKAGE_VERSION='1.1alpha5' | ||
PACKAGE_STRING='OpenBSM 1.1alpha5' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
|
||
ac_unique_file="bin/auditreduce/auditreduce.c" | ||
|
@@ -1404,7 +1404,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures OpenBSM 1.1alpha4 to adapt to many kinds of systems. | ||
\`configure' configures OpenBSM 1.1alpha5 to adapt to many kinds of systems. | ||
|
||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
||
|
@@ -1474,7 +1474,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of OpenBSM 1.1alpha4:";; | ||
short | recursive ) echo "Configuration of OpenBSM 1.1alpha5:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
||
|
@@ -1580,7 +1580,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
OpenBSM configure 1.1alpha4 | ||
OpenBSM configure 1.1alpha5 | ||
generated by GNU Autoconf 2.61 | ||
|
||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
|
@@ -1594,7 +1594,7 @@ cat >config.log <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
|
||
It was created by OpenBSM $as_me 1.1alpha4, which was | ||
It was created by OpenBSM $as_me 1.1alpha5, which was | ||
generated by GNU Autoconf 2.61. Invocation command line was | ||
|
||
$ $0 $@ | ||
|
@@ -19076,7 +19076,7 @@ fi | |
|
||
# Define the identity of the package. | ||
PACKAGE=OpenBSM | ||
VERSION=1.1alpha4 | ||
VERSION=1.1alpha5 | ||
|
||
|
||
cat >>confdefs.h <<_ACEOF | ||
|
@@ -23584,7 +23584,7 @@ exec 6>&1 | |
# report actual input values of CONFIG_FILES etc. instead of their | ||
# values after options handling. | ||
ac_log=" | ||
This file was extended by OpenBSM $as_me 1.1alpha4, which was | ||
This file was extended by OpenBSM $as_me 1.1alpha5, which was | ||
generated by GNU Autoconf 2.61. Invocation command line was | ||
|
||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -23637,7 +23637,7 @@ Report bugs to <[email protected]>." | |
_ACEOF | ||
cat >>$CONFIG_STATUS <<_ACEOF | ||
ac_cs_version="\\ | ||
OpenBSM config.status 1.1alpha4 | ||
OpenBSM config.status 1.1alpha5 | ||
configured by $0, generated by GNU Autoconf 2.61, | ||
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ(2.59) | ||
AC_INIT([OpenBSM], [1.1alpha4], [[email protected]],[openbsm]) | ||
AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#48 $]) | ||
AC_INIT([OpenBSM], [1.1alpha5], [[email protected]],[openbsm]) | ||
AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#49 $]) | ||
AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c]) | ||
AC_CONFIG_AUX_DIR(config) | ||
AC_CONFIG_HEADER([config/config.h]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.