aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am4
-rw-r--r--bin/audit/Makefile.am4
-rw-r--r--bin/audit/audit.86
-rw-r--r--bin/audit/audit.c2
-rw-r--r--bin/auditd/Makefile.am4
-rw-r--r--bin/auditd/audit_triggers.defs4
-rw-r--r--bin/auditd/audit_warn.c2
-rw-r--r--bin/auditd/auditd.86
-rw-r--r--bin/auditd/auditd.c2
-rw-r--r--bin/auditd/auditd.h2
-rw-r--r--bin/auditd/auditd_control.defs2
-rw-r--r--bin/auditd/auditd_darwin.c2
-rw-r--r--bin/auditd/auditd_fbsd.c2
-rw-r--r--bin/auditdistd/Makefile.am4
-rw-r--r--bin/auditdistd/auditdistd.86
-rw-r--r--bin/auditdistd/auditdistd.c2
-rw-r--r--bin/auditdistd/auditdistd.conf.597
-rw-r--r--bin/auditdistd/auditdistd.h2
-rw-r--r--bin/auditdistd/faccessat.h2
-rw-r--r--bin/auditdistd/fstatat.h2
-rw-r--r--bin/auditdistd/openat.h2
-rw-r--r--bin/auditdistd/parse.y2
-rw-r--r--bin/auditdistd/pjdlog.c2
-rw-r--r--bin/auditdistd/pjdlog.h2
-rw-r--r--bin/auditdistd/proto.c2
-rw-r--r--bin/auditdistd/proto.h2
-rw-r--r--bin/auditdistd/proto_common.c2
-rw-r--r--bin/auditdistd/proto_impl.h2
-rw-r--r--bin/auditdistd/proto_socketpair.c2
-rw-r--r--bin/auditdistd/proto_tcp.c2
-rw-r--r--bin/auditdistd/proto_tls.c2
-rw-r--r--bin/auditdistd/proto_uds.c2
-rw-r--r--bin/auditdistd/receiver.c2
-rw-r--r--bin/auditdistd/renameat.h2
-rw-r--r--bin/auditdistd/sandbox.c2
-rw-r--r--bin/auditdistd/sandbox.h2
-rw-r--r--bin/auditdistd/sender.c13
-rw-r--r--bin/auditdistd/sigtimedwait.h2
-rw-r--r--bin/auditdistd/strndup.h2
-rw-r--r--bin/auditdistd/subr.c7
-rw-r--r--bin/auditdistd/subr.h2
-rw-r--r--bin/auditdistd/synch.h2
-rw-r--r--bin/auditdistd/token.l4
-rw-r--r--bin/auditdistd/trail.c2
-rw-r--r--bin/auditdistd/trail.h2
-rw-r--r--bin/auditdistd/unlinkat.h2
-rw-r--r--bin/auditfilterd/Makefile.am4
-rw-r--r--bin/auditfilterd/auditfilterd.82
-rw-r--r--bin/auditfilterd/auditfilterd.c4
-rw-r--r--bin/auditfilterd/auditfilterd.h2
-rw-r--r--bin/auditfilterd/auditfilterd_conf.c2
-rw-r--r--bin/auditreduce/Makefile.am4
-rw-r--r--bin/auditreduce/auditreduce.12
-rw-r--r--bin/auditreduce/auditreduce.c2
-rw-r--r--bin/auditreduce/auditreduce.h2
-rw-r--r--bin/praudit/Makefile.am4
-rw-r--r--bin/praudit/praudit.12
-rw-r--r--bin/praudit/praudit.c2
58 files changed, 74 insertions, 185 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am
index 16073e982ff1..15a3dbcee361 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/Makefile.am#4 $
-##
-
SUBDIRS = \
auditdistd \
auditfilterd \
diff --git a/bin/audit/Makefile.am b/bin/audit/Makefile.am
index e7977831fddb..d0af56c347d9 100644
--- a/bin/audit/Makefile.am
+++ b/bin/audit/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.am#7 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/audit/audit.8 b/bin/audit/audit.8
index d5b296068dc2..b9f98b328200 100644
--- a/bin/audit/audit.8
+++ b/bin/audit/audit.8
@@ -25,9 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.8#16 $
-.\"
-.Dd January 29, 2009
+.Dd July 25, 2015
.Dt AUDIT 8
.Os
.Sh NAME
@@ -88,7 +86,7 @@ Audit policy file used to configure the auditing system.
.Xr audit 4 ,
.Xr audit_control 5 ,
.Xr auditd 8 ,
-.Xr launchd 8
+.Xr launchd 8 (Mac OS X)
.Sh HISTORY
The OpenBSM implementation was created by McAfee Research, the security
division of McAfee Inc., under contract to Apple Computer Inc.\& in 2004.
diff --git a/bin/audit/audit.c b/bin/audit/audit.c
index 95ac3bc44cdb..dfe956f2e005 100644
--- a/bin/audit/audit.c
+++ b/bin/audit/audit.c
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#15 $
*/
/*
* Program to trigger the audit daemon with a message that is either:
diff --git a/bin/auditd/Makefile.am b/bin/auditd/Makefile.am
index 2a187db63f6f..8a2a9dfb3b74 100644
--- a/bin/auditd/Makefile.am
+++ b/bin/auditd/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/Makefile.am#6 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/auditd/audit_triggers.defs b/bin/auditd/audit_triggers.defs
index f5b394dd422b..9fe2c352f591 100644
--- a/bin/auditd/audit_triggers.defs
+++ b/bin/auditd/audit_triggers.defs
@@ -1,5 +1 @@
-/*
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/audit_triggers.defs#1 $
- */
-
#include <mach/audit_triggers.defs>
diff --git a/bin/auditd/audit_warn.c b/bin/auditd/audit_warn.c
index 22806e24b41c..6bd2b8477c10 100644
--- a/bin/auditd/audit_warn.c
+++ b/bin/auditd/audit_warn.c
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/audit_warn.c#11 $
*/
#include <sys/types.h>
diff --git a/bin/auditd/auditd.8 b/bin/auditd/auditd.8
index b4375245a10c..c76dfcae92ff 100644
--- a/bin/auditd/auditd.8
+++ b/bin/auditd/auditd.8
@@ -25,9 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.8#19 $
-.\"
-.Dd December 11, 2008
+.Dd July 25, 2015
.Dt AUDITD 8
.Os
.Sh NAME
@@ -123,7 +121,7 @@ and are no longer available as arguments to
.Xr audit_warn 5 ,
.Xr audit 8 ,
.Xr auditdistd 8 ,
-.Xr launchd 8
+.Xr launchd 8 (Mac OS X)
.Sh HISTORY
The OpenBSM implementation was created by McAfee Research, the security
division of McAfee Inc., under contract to Apple Computer Inc.\& in 2004.
diff --git a/bin/auditd/auditd.c b/bin/auditd/auditd.c
index 26a0d07c3cd7..a4357bd9c0e1 100644
--- a/bin/auditd/auditd.c
+++ b/bin/auditd/auditd.c
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#50 $
*/
#include <sys/types.h>
diff --git a/bin/auditd/auditd.h b/bin/auditd/auditd.h
index f952181b33e6..20afd75172cf 100644
--- a/bin/auditd/auditd.h
+++ b/bin/auditd/auditd.h
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.h#13 $
*/
#ifndef _AUDITD_H_
diff --git a/bin/auditd/auditd_control.defs b/bin/auditd/auditd_control.defs
index f06fe017a2ca..84f37df435b9 100644
--- a/bin/auditd/auditd_control.defs
+++ b/bin/auditd/auditd_control.defs
@@ -25,8 +25,6 @@
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_control.defs#2 $
*/
/*
diff --git a/bin/auditd/auditd_darwin.c b/bin/auditd/auditd_darwin.c
index 8530185e4a90..702eb9476ce5 100644
--- a/bin/auditd/auditd_darwin.c
+++ b/bin/auditd/auditd_darwin.c
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_darwin.c#5 $
*/
#include <sys/types.h>
diff --git a/bin/auditd/auditd_fbsd.c b/bin/auditd/auditd_fbsd.c
index 2da98755f48e..d8f040f391a9 100644
--- a/bin/auditd/auditd_fbsd.c
+++ b/bin/auditd/auditd_fbsd.c
@@ -25,8 +25,6 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd_fbsd.c#4 $
*/
#include <sys/types.h>
diff --git a/bin/auditdistd/Makefile.am b/bin/auditdistd/Makefile.am
index 88f2584d7b30..263cb2d1fdc4 100644
--- a/bin/auditdistd/Makefile.am
+++ b/bin/auditdistd/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/Makefile.am#1 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/auditdistd/auditdistd.8 b/bin/auditdistd/auditdistd.8
index 299cde46237f..71a65752ed19 100644
--- a/bin/auditdistd/auditdistd.8
+++ b/bin/auditdistd/auditdistd.8
@@ -41,7 +41,7 @@
.Sh DESCRIPTION
The
.Nm
-daemon is responsible for distributing audit trail files over TCP/IP network in
+daemon is responsible for distributing audit trail files over a TCP/IP network in
a secure and reliable way.
.Pp
The
@@ -49,7 +49,7 @@ The
daemon can be started with the following command line arguments:
.Bl -tag -width ".Fl P Ar pidfile"
.It Fl c Ar config
-Specify alternative location of the configuration file.
+Specify an alternative location of the configuration file.
The default location is
.Pa /etc/security/auditdistd.conf .
Note: the configuration file may contain passwords.
@@ -74,7 +74,7 @@ usage message.
Start in a launchd-friendly mode, ie. do not use
.Xr daemon 3 .
.It Fl P Ar pidfile
-Specify alternative location of a file where main process PID will be
+Specify an alternative location of a file where main process PID will be
stored.
The default location is
.Pa /var/run/auditdistd.pid .
diff --git a/bin/auditdistd/auditdistd.c b/bin/auditdistd/auditdistd.c
index 436531db14f2..696f0488b27a 100644
--- a/bin/auditdistd/auditdistd.c
+++ b/bin/auditdistd/auditdistd.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/auditdistd.c#3 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/auditdistd.conf.5 b/bin/auditdistd/auditdistd.conf.5
index 13abb5a5c4c1..c6ed2b58906b 100644
--- a/bin/auditdistd/auditdistd.conf.5
+++ b/bin/auditdistd/auditdistd.conf.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 22, 2011
+.Dd July 1, 2015
.Dt AUDITDISTD.CONF 5
.Os
.Sh NAME
@@ -37,19 +37,21 @@
daemon.
.Sh DESCRIPTION
Note: the configuration file may contain passwords.
-Care should be taken to configure proper permissions on this file
-.Li ( eg. 0600 ) .
+Care should be taken to configure proper permissions for this file
+.Li ( e.g., 0600 ) .
.Pp
-Every line starting with # is treated as comment and ignored.
+Every line starting with
+.Li #
+gets treated as a comment and is ignored.
.Sh CONFIGURATION FILE SYNTAX
-General syntax of the
+The general syntax of the
.Nm
-file is following:
-.Bd -literal -offset
+file is as follows:
+.Bd -literal
## Global section.
# Our name.
-# The default is first part of the hostname.
+# The default is the first part of the hostname.
name "<name>"
# Connection timeout.
@@ -71,11 +73,11 @@ sender {
# The default is /var/audit/dist.
directory "<dir>"
.\"
-.\" # Checksum algorithm for data send over the wire.
+.\" # Checksum algorithm for data sent over the wire.
.\" # The default is none.
.\" checksum "<algorithm>"
.\"
-.\" # Compression algorithm for data send over the wire.
+.\" # Compression algorithm for data sent over the wire.
.\" # The default is none.
.\" compression "<algorithm>"
@@ -86,7 +88,7 @@ sender {
# Optional.
source "<addr>"
- # Address of auditdistd receiver.
+ # Address of the auditdistd receiver.
# No default. Obligatory.
remote "<addr>"
@@ -95,7 +97,7 @@ sender {
directory "<dir>"
# Fingerprint of the receiver's public key when using TLS
- # for connection.
+ # for connections.
# Example fingerprint:
# SHA256=8F:0A:FC:8A:3D:09:80:AF:D9:AA:38:CC:8A:86:53:E6:8F:B6:1C:55:30:14:D7:F9:AA:8B:3E:73:CD:F5:76:2B
fingerprint "<algorithm=hash>"
@@ -103,37 +105,37 @@ sender {
# Password used to authenticate in front of the receiver.
password "<password>"
.\"
-.\" # Checksum algorithm for data send over the wire.
+.\" # Checksum algorithm for data sent over the wire.
.\" # The default is none.
.\" checksum "<algorithm>"
.\"
-.\" # Compression algorithm for data send over the wire.
+.\" # Compression algorithm for data sent over the wire.
.\" # The default is none.
.\" compression "<algorithm>"
}
- # Currently local audit trail files can be send only to one remote
+ # Currently local audit trail files can be sent only to one remote
# auditdistd receiver, but this can change in the future.
}
receiver {
## Receiver section.
- # Address to listen on. Multiple listen addresses might be specified.
+ # Address to listen on. Multiple listen addresses may be specified.
# The defaults are "tcp4://0.0.0.0:7878" and "tcp6://[::]:7878".
listen "<addr>"
# Base directory.
- # If directory in host section is no absolute, it will be concatenated
- # with this base directory.
+ # If the directory in the host section is not absolute, it will be
+ # concatenated with this base directory.
# The default is "/var/audit/remote".
directory "<basedir>"
- # Path to receiver's certificate file.
+ # Path to the receiver's certificate file.
# The default is "/etc/security/auditdistd.cert.pem".
certfile "<path>"
- # Path to receiver's private key file.
+ # Path to the receiver's private key file.
# The default is "/etc/security/auditdistd.key.pem".
keyfile "<path>"
@@ -158,7 +160,7 @@ receiver {
.Ed
.Pp
Most of the various available configuration parameters are optional.
-If parameter is not defined in the particular section, it will be
+If a parameter is not defined in the particular section, it will be
inherited from the parent section if possible.
For example, if the
.Ic source
@@ -172,14 +174,14 @@ In case the
section does not define the
.Ic source
parameter at all, the default value will be used.
-.Sh CONFIGURATION FILE DESCRIPTION
+.Sh CONFIGURATION OPTION DESCRIPTION
The following statements are available:
.Bl -tag -width ".Ic xxxx"
.It Ic name Aq name
.Pp
This host's name.
-It is send to the receiver, so it can properly recognize us if there are
-more than one sender coming from the same IP address.
+It is sent to the receiver, so it can properly recognize us if there are
+multiple senders coming from the same IP address.
.It Ic timeout Aq seconds
.Pp
Connection timeout in seconds.
@@ -198,17 +200,17 @@ The default value is
Local address to bind to before connecting to the remote
.Nm auditdistd
daemon.
-Format is the same as for the
+The format is the same as for the
.Ic listen
statement.
.It Ic directory Aq path
.Pp
-Directory where to look for audit trail files in case of sender mode or
-directory where to store received audit trail files.
+The directory where to look for audit trail files in case of sender mode, or
+the directory where to store received audit trail files.
The provided path has to be an absolute path.
-The only exception is when directory is provided in the
+The only exception is when the directory is provided in the
.Ic receiver
-section, then path provided in the
+section; then the path provided in the
.Ic host
subsections can be relative to the directory in the
.Ic receiver
@@ -229,13 +231,13 @@ subsections in the
.Ic receiver
section where
.Aq name
-is host's name.
+is the host's name.
.\".It Ic checksum Aq algorithm
.\".Pp
.\"Checksum algorithm should be one of the following:
.\".Bl -tag -width ".Ic sha256"
.\".It Ic none
-.\"No checksum will be calculated for the data being send over the network.
+.\"No checksum will be calculated for the data being sent over the network.
.\"This is the default setting.
.\".It Ic crc32
.\"CRC32 checksum will be calculated.
@@ -247,30 +249,30 @@ is host's name.
.\"Compression algorithm should be one of the following:
.\".Bl -tag -width ".Ic none"
.\".It Ic none
-.\"Data send over the network will not be compressed.
+.\"Data sent over the network will not be compressed.
.\"This is the default setting.
.\".It Ic lzf
.\"The
.\".Nm LZF
.\"algorithm by
.\".An Marc Alexander Lehmann
-.\"will be used to compress the data send over the network.
+.\"will be used to compress the data sent over the network.
.\".Nm LZF
-.\"is very fast, general purpose compression algorithm.
+.\"is a very fast, general purpose compression algorithm.
.\".El
.It Ic remote Aq addr
.Pp
Address of the remote
.Nm auditdistd
daemon.
-Format is the same as for the
+The format is the same as for the
.Ic listen
statement.
-When operating in the
+When operating in
.Ic sender
mode this address will be used to connect to the
.Ic receiver .
-When operating in the
+When operating in
.Ic receiver
mode only connections from this address will be accepted.
.It Ic listen Aq addr
@@ -296,21 +298,22 @@ By default
listens on
.Pa tcp4://0.0.0.0:7878
and
-.Pa tcp6://[::]:7878
-if kernel supports IPv4 and IPv6 respectively.
+.Pa tcp6://[::]:7878 ,
+if the kernel supports IPv4 and IPv6 respectively.
.It Ic keyfile Aq path
.Pp
-Path to a file that contains private key for TLS communication.
+Path to a file that contains the private key for TLS communication.
.It Ic certfile Aq path
.Pp
-Path to a file that contains certificate for TLS communication.
+Path to a file that contains the certificate for TLS communication.
.It Ic fingerprint Aq algo=hash
.Pp
-Finger print of the receiver's public key.
-Currently only SHA256 algorithm is supported.
-Certificate public key's fingerprint ready to be pasted into auditdistd
+Fingerprint of the receiver's public key.
+Currently only the SHA256 algorithm is supported.
+The certificate public key's fingerprint ready to be pasted into the
+.Nm auditdistd
configuration file can be obtained by running:
-.Bd -literal -offset
+.Bd -literal
# openssl x509 -in /etc/security/auditdistd.cert.pem -noout -fingerprint -sha256 | awk -F '[ =]' '{printf("%s=%s\\n", $1, $3)}'
.Ed
.It Ic password Aq password
@@ -352,10 +355,10 @@ receiver {
.Ed
.Sh SEE ALSO
.Xr audit 4 ,
-.Xr auditdistd 8 .
+.Xr auditdistd 8
.Sh AUTHORS
The
.Nm auditdistd
-was developed by
+daemon was developed by
.An Pawel Jakub Dawidek Aq pawel@dawidek.net
under sponsorship of the FreeBSD Foundation.
diff --git a/bin/auditdistd/auditdistd.h b/bin/auditdistd/auditdistd.h
index 9ac2850a7f8b..d0594f2ebcd8 100644
--- a/bin/auditdistd/auditdistd.h
+++ b/bin/auditdistd/auditdistd.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/auditdistd.h#2 $
*/
#ifndef _AUDITDISTD_H_
diff --git a/bin/auditdistd/faccessat.h b/bin/auditdistd/faccessat.h
index 37d8b89d87a3..568a6b7f0ab8 100644
--- a/bin/auditdistd/faccessat.h
+++ b/bin/auditdistd/faccessat.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/faccessat.h#1 $
*/
#ifndef _FACCESSAT_H_
diff --git a/bin/auditdistd/fstatat.h b/bin/auditdistd/fstatat.h
index a2716b97629e..5327a7c28ad6 100644
--- a/bin/auditdistd/fstatat.h
+++ b/bin/auditdistd/fstatat.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/fstatat.h#1 $
*/
#ifndef _FSTATAT_H_
diff --git a/bin/auditdistd/openat.h b/bin/auditdistd/openat.h
index defb94746508..1d9801466cb9 100644
--- a/bin/auditdistd/openat.h
+++ b/bin/auditdistd/openat.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/openat.h#1 $
*/
#ifndef _OPENAT_H_
diff --git a/bin/auditdistd/parse.y b/bin/auditdistd/parse.y
index fbe1000f82b2..1f80d5054fff 100644
--- a/bin/auditdistd/parse.y
+++ b/bin/auditdistd/parse.y
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/parse.y#5 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/pjdlog.c b/bin/auditdistd/pjdlog.c
index e8d5876dfcd3..16f176ecb523 100644
--- a/bin/auditdistd/pjdlog.c
+++ b/bin/auditdistd/pjdlog.c
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/pjdlog.c#1 $
*/
#include <sys/types.h>
diff --git a/bin/auditdistd/pjdlog.h b/bin/auditdistd/pjdlog.h
index 0cb61217069c..d6f217f23c24 100644
--- a/bin/auditdistd/pjdlog.h
+++ b/bin/auditdistd/pjdlog.h
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/pjdlog.h#1 $
*/
#ifndef _PJDLOG_H_
diff --git a/bin/auditdistd/proto.c b/bin/auditdistd/proto.c
index 25daf0ccb0db..4e9bea08354b 100644
--- a/bin/auditdistd/proto.c
+++ b/bin/auditdistd/proto.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto.c#1 $
*/
#include <sys/types.h>
diff --git a/bin/auditdistd/proto.h b/bin/auditdistd/proto.h
index 79047b0bc80f..f26c0ad4699b 100644
--- a/bin/auditdistd/proto.h
+++ b/bin/auditdistd/proto.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto.h#1 $
*/
#ifndef _PROTO_H_
diff --git a/bin/auditdistd/proto_common.c b/bin/auditdistd/proto_common.c
index 0fa4d3c5443b..acd2294e2d93 100644
--- a/bin/auditdistd/proto_common.c
+++ b/bin/auditdistd/proto_common.c
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_common.c#1 $
*/
#include <sys/types.h>
diff --git a/bin/auditdistd/proto_impl.h b/bin/auditdistd/proto_impl.h
index c2ce2d91e9e2..7915ee91b528 100644
--- a/bin/auditdistd/proto_impl.h
+++ b/bin/auditdistd/proto_impl.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_impl.h#1 $
*/
#ifndef _PROTO_IMPL_H_
diff --git a/bin/auditdistd/proto_socketpair.c b/bin/auditdistd/proto_socketpair.c
index 8d04c49217e2..fc65c762b088 100644
--- a/bin/auditdistd/proto_socketpair.c
+++ b/bin/auditdistd/proto_socketpair.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_socketpair.c#1 $
*/
#include <sys/types.h>
diff --git a/bin/auditdistd/proto_tcp.c b/bin/auditdistd/proto_tcp.c
index 74d5cd45c502..465221dfe5cc 100644
--- a/bin/auditdistd/proto_tcp.c
+++ b/bin/auditdistd/proto_tcp.c
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_tcp.c#2 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/proto_tls.c b/bin/auditdistd/proto_tls.c
index faeb3d8882de..de89147823cf 100644
--- a/bin/auditdistd/proto_tls.c
+++ b/bin/auditdistd/proto_tls.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_tls.c#2 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/proto_uds.c b/bin/auditdistd/proto_uds.c
index 3b3dfb7bbacb..3168bbf890b6 100644
--- a/bin/auditdistd/proto_uds.c
+++ b/bin/auditdistd/proto_uds.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/proto_uds.c#2 $
*/
/* UDS - UNIX Domain Socket */
diff --git a/bin/auditdistd/receiver.c b/bin/auditdistd/receiver.c
index 698619d47326..9dc3b0184c63 100644
--- a/bin/auditdistd/receiver.c
+++ b/bin/auditdistd/receiver.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/receiver.c#3 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/renameat.h b/bin/auditdistd/renameat.h
index a6a67f8513db..0becb8a58699 100644
--- a/bin/auditdistd/renameat.h
+++ b/bin/auditdistd/renameat.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/renameat.h#1 $
*/
#ifndef _RENAMEAT_H_
diff --git a/bin/auditdistd/sandbox.c b/bin/auditdistd/sandbox.c
index 9e4f13466053..53cd6b372307 100644
--- a/bin/auditdistd/sandbox.c
+++ b/bin/auditdistd/sandbox.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/sandbox.c#3 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/sandbox.h b/bin/auditdistd/sandbox.h
index 2dc59e4b0365..7bcde25557d8 100644
--- a/bin/auditdistd/sandbox.h
+++ b/bin/auditdistd/sandbox.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/sandbox.h#1 $
*/
#ifndef _SANDBOX_H_
diff --git a/bin/auditdistd/sender.c b/bin/auditdistd/sender.c
index 256fbb1f4759..4349b0f54cc9 100644
--- a/bin/auditdistd/sender.c
+++ b/bin/auditdistd/sender.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/sender.c#3 $
*/
#include <config/config.h>
@@ -394,6 +392,7 @@ read_thread_wait(void)
mtx_lock(&adist_remote_mtx);
if (adhost->adh_reset) {
+reset:
adhost->adh_reset = false;
if (trail_filefd(adist_trail) != -1)
trail_close(adist_trail);
@@ -408,6 +407,14 @@ read_thread_wait(void)
while (trail_filefd(adist_trail) == -1) {
newfile = true;
wait_for_dir();
+ /*
+ * We may have been disconnected and reconnected in the
+ * meantime, check if reset is set.
+ */
+ mtx_lock(&adist_remote_mtx);
+ if (adhost->adh_reset)
+ goto reset;
+ mtx_unlock(&adist_remote_mtx);
if (trail_filefd(adist_trail) == -1)
trail_next(adist_trail);
}
@@ -634,7 +641,7 @@ recv_thread(void *arg __unused)
* we can use that.
*/
if (TAILQ_EMPTY(&adist_recv_list)) {
- rw_unlock(&adist_remote_lock);
+ mtx_unlock(&adist_recv_list_lock);
continue;
}
mtx_unlock(&adist_recv_list_lock);
diff --git a/bin/auditdistd/sigtimedwait.h b/bin/auditdistd/sigtimedwait.h
index 187c6d6dec1b..06a4d130e8b1 100644
--- a/bin/auditdistd/sigtimedwait.h
+++ b/bin/auditdistd/sigtimedwait.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/sigtimedwait.h#2 $
*/
#ifndef _SIGTIMEDWAIT_H_
diff --git a/bin/auditdistd/strndup.h b/bin/auditdistd/strndup.h
index 6cf3c95258d2..c36a950e21e8 100644
--- a/bin/auditdistd/strndup.h
+++ b/bin/auditdistd/strndup.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/strndup.h#1 $
*/
#ifndef _STRNDUP_H_
diff --git a/bin/auditdistd/subr.c b/bin/auditdistd/subr.c
index e98ed1e74480..ecc626cc9734 100644
--- a/bin/auditdistd/subr.c
+++ b/bin/auditdistd/subr.c
@@ -22,8 +22,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/subr.c#3 $
*/
#include <config/config.h>
@@ -228,6 +226,11 @@ wait_for_file_init(int fd)
PJDLOG_ASSERT(fd != -1);
#ifdef HAVE_KQUEUE
+ if (wait_for_file_kq != -1) {
+ close(wait_for_file_kq);
+ wait_for_file_kq = -1;
+ }
+
kq = kqueue();
if (kq == -1) {
pjdlog_errno(LOG_WARNING, "kqueue() failed");
diff --git a/bin/auditdistd/subr.h b/bin/auditdistd/subr.h
index 2f11b65004c8..7e2ddeb2a7f9 100644
--- a/bin/auditdistd/subr.h
+++ b/bin/auditdistd/subr.h
@@ -22,8 +22,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/subr.h#1 $
*/
#ifndef _AUDITDISTD_SUBR_H_
diff --git a/bin/auditdistd/synch.h b/bin/auditdistd/synch.h
index e6fe19d1c624..6d83a9bbd7bd 100644
--- a/bin/auditdistd/synch.h
+++ b/bin/auditdistd/synch.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/synch.h#3 $
*/
#ifndef _SYNCH_H_
diff --git a/bin/auditdistd/token.l b/bin/auditdistd/token.l
index 9cebac1e22d9..2dd941a19af1 100644
--- a/bin/auditdistd/token.l
+++ b/bin/auditdistd/token.l
@@ -26,8 +26,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/token.l#2 $
*/
#include <config/config.h>
@@ -74,7 +72,7 @@ sender { DP; return SENDER; }
source { DP; return SOURCE; }
timeout { DP; return TIMEOUT; }
[0-9]+ { DP; yylval.num = atoi(yytext); return NUM; }
-\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
+\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
\{ { DP; depth++; return OB; }
\} { DP; depth--; return CB; }
#.*$ /* ignore comments */;
diff --git a/bin/auditdistd/trail.c b/bin/auditdistd/trail.c
index d4be51eeed36..b8a9881c1ba5 100644
--- a/bin/auditdistd/trail.c
+++ b/bin/auditdistd/trail.c
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/trail.c#3 $
*/
#include <config/config.h>
diff --git a/bin/auditdistd/trail.h b/bin/auditdistd/trail.h
index 33c88b28d665..204ea2b317a3 100644
--- a/bin/auditdistd/trail.h
+++ b/bin/auditdistd/trail.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/trail.h#1 $
*/
#ifndef _AUDITDISTD_TRAIL_H_
diff --git a/bin/auditdistd/unlinkat.h b/bin/auditdistd/unlinkat.h
index ee9c023ba464..6364208fcb9e 100644
--- a/bin/auditdistd/unlinkat.h
+++ b/bin/auditdistd/unlinkat.h
@@ -25,8 +25,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditdistd/unlinkat.h#1 $
*/
#ifndef _UNLINKAT_H_
diff --git a/bin/auditfilterd/Makefile.am b/bin/auditfilterd/Makefile.am
index 81d4fb5cc521..400a1d9c2a1e 100644
--- a/bin/auditfilterd/Makefile.am
+++ b/bin/auditfilterd/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/auditfilterd/Makefile.am#4 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/auditfilterd/auditfilterd.8 b/bin/auditfilterd/auditfilterd.8
index 034c81bb317a..f78c6640accf 100644
--- a/bin/auditfilterd/auditfilterd.8
+++ b/bin/auditfilterd/auditfilterd.8
@@ -23,8 +23,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/bin/auditfilterd/auditfilterd.8#6 $
-.\"
.Dd October 3, 2006
.Dt AUDITFILTERD 8
.Os
diff --git a/bin/auditfilterd/auditfilterd.c b/bin/auditfilterd/auditfilterd.c
index ba42834b341e..46c86b2eba96 100644
--- a/bin/auditfilterd/auditfilterd.c
+++ b/bin/auditfilterd/auditfilterd.c
@@ -24,8 +24,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditfilterd/auditfilterd.c#13 $
*/
/*
@@ -131,7 +129,7 @@ present_rawrecord(struct timespec *ts, u_char *data, u_int len)
}
/*
- * Parse the BSM into a set of tokens, which will be pased to registered
+ * Parse the BSM into a set of tokens, which will be passed to registered
* and interested filters.
*/
#define MAX_TOKENS 128 /* Maximum tokens we handle per record. */
diff --git a/bin/auditfilterd/auditfilterd.h b/bin/auditfilterd/auditfilterd.h
index d55aeee9f580..c178b82b96c9 100644
--- a/bin/auditfilterd/auditfilterd.h
+++ b/bin/auditfilterd/auditfilterd.h
@@ -24,8 +24,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditfilterd/auditfilterd.h#5 $
*/
#define AUDITFILTERD_CONFFILE "/etc/security/audit_filter"
diff --git a/bin/auditfilterd/auditfilterd_conf.c b/bin/auditfilterd/auditfilterd_conf.c
index b0642fa4d761..bf3b3bb5550d 100644
--- a/bin/auditfilterd/auditfilterd_conf.c
+++ b/bin/auditfilterd/auditfilterd_conf.c
@@ -24,8 +24,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditfilterd/auditfilterd_conf.c#5 $
*/
/*
diff --git a/bin/auditreduce/Makefile.am b/bin/auditreduce/Makefile.am
index a02178b2766b..b5e24338eb46 100644
--- a/bin/auditreduce/Makefile.am
+++ b/bin/auditreduce/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/Makefile.am#4 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/auditreduce/auditreduce.1 b/bin/auditreduce/auditreduce.1
index 157f31d12aa7..3266ad9bc160 100644
--- a/bin/auditreduce/auditreduce.1
+++ b/bin/auditreduce/auditreduce.1
@@ -25,8 +25,6 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.1#18 $
-.\"
.Dd January 24, 2004
.Dt AUDITREDUCE 1
.Os
diff --git a/bin/auditreduce/auditreduce.c b/bin/auditreduce/auditreduce.c
index 0faadda23f9e..f73d341c0110 100644
--- a/bin/auditreduce/auditreduce.c
+++ b/bin/auditreduce/auditreduce.c
@@ -25,8 +25,6 @@
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#31 $
*/
/*
diff --git a/bin/auditreduce/auditreduce.h b/bin/auditreduce/auditreduce.h
index 5f548935453a..655b45d21779 100644
--- a/bin/auditreduce/auditreduce.h
+++ b/bin/auditreduce/auditreduce.h
@@ -25,8 +25,6 @@
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.h#7 $
*/
#ifndef _AUDITREDUCE_H_
diff --git a/bin/praudit/Makefile.am b/bin/praudit/Makefile.am
index c28afd4758a2..4643b7c77a71 100644
--- a/bin/praudit/Makefile.am
+++ b/bin/praudit/Makefile.am
@@ -1,7 +1,3 @@
-##
-## $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/Makefile.am#4 $
-##
-
if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
diff --git a/bin/praudit/praudit.1 b/bin/praudit/praudit.1
index 99ea7c81774f..2954ba3da029 100644
--- a/bin/praudit/praudit.1
+++ b/bin/praudit/praudit.1
@@ -25,8 +25,6 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.1#14 $
-.\"
.Dd August 4, 2009
.Dt PRAUDIT 1
.Os
diff --git a/bin/praudit/praudit.c b/bin/praudit/praudit.c
index f20f245ec02e..f7954344b15a 100644
--- a/bin/praudit/praudit.c
+++ b/bin/praudit/praudit.c
@@ -26,8 +26,6 @@
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
- *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/praudit/praudit.c#16 $
*/
/*