Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177749609
D60171.1795195635.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D60171.1795195635.diff
View Options
diff --git a/contrib/openbsm/etc/audit_warn b/contrib/openbsm/etc/audit_warn
--- a/contrib/openbsm/etc/audit_warn
+++ b/contrib/openbsm/etc/audit_warn
@@ -1,3 +1,2 @@
#!/bin/sh
-
-logger -p security.warning "audit warning: $@"
+exec /usr/bin/logger -p security.warning "audit warning: $@"
diff --git a/contrib/openbsm/man/audit_warn.5 b/contrib/openbsm/man/audit_warn.5
--- a/contrib/openbsm/man/audit_warn.5
+++ b/contrib/openbsm/man/audit_warn.5
@@ -25,7 +25,7 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 17, 2004
+.Dd September 30, 2026
.Dt AUDIT_WARN 5
.Os
.Sh NAME
@@ -41,19 +41,18 @@
.Pp
The default
.Nm
-is a script whose first parameter is the type of warning; the script
-appends its arguments to
-.Pa /etc/security/audit_messages .
+is a script which passes its arguments on to
+.Xr logger 1 .
Administrators may replace this script: a more comprehensive one would take
different actions based on the type of warning.
For example, a low-space warning
could result in an email message being sent to the administrator.
.Sh FILES
-.Bl -tag -width ".Pa /etc/security/audit_messages" -compact
+.Bl -tag -width "/etc/security/audit_warn" -compact
.It Pa /etc/security/audit_warn
-.It Pa /etc/security/audit_messages
.El
.Sh SEE ALSO
+.Xr logger 1 ,
.Xr audit 4 ,
.Xr auditd 8
.Sh HISTORY
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 20, 5:27 PM (17 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41872337
Default Alt Text
D60171.1795195635.diff (1 KB)
Attached To
Mode
D60171: audit_warn: Avoid pointless fork and path search
Attached
Detach File
Event Timeline