diff options
author | Jan Friedel <Jan.Friedel@Sun.COM> | 2010-05-18 21:30:58 +0200 |
---|---|---|
committer | Jan Friedel <Jan.Friedel@Sun.COM> | 2010-05-18 21:30:58 +0200 |
commit | 9fa473b0d301bd8031d14635bfa88422277ca80a (patch) | |
tree | bba5735204066a50ac8d7251828e038156ab2ef2 /usr/src/lib | |
parent | 98f4f4f656cf8a11e7013e69b0cc54f82fa9b79b (diff) | |
download | illumos-joyent-9fa473b0d301bd8031d14635bfa88422277ca80a.tar.gz |
6948239 audit_remote(5) may call audit_warn(1m) incorrectly
Diffstat (limited to 'usr/src/lib')
-rw-r--r-- | usr/src/lib/auditd_plugins/remote/audit_remote.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr/src/lib/auditd_plugins/remote/audit_remote.c b/usr/src/lib/auditd_plugins/remote/audit_remote.c index d31691032c..f0c1400471 100644 --- a/usr/src/lib/auditd_plugins/remote/audit_remote.c +++ b/usr/src/lib/auditd_plugins/remote/audit_remote.c @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * * send audit records to remote host * @@ -635,8 +634,7 @@ auditd_plugin(const char *input, size_t in_len, uint64_t sequence, char **error) rc = AUDITD_NO_MEMORY; break; } - __audit_dowarn2("plugin", "audit_remote.so", - gettext("auditd record delivery failed"), + __audit_dowarn2("plugin", "audit_remote.so", "retry", ext_error, attempts + 1); free(rsn_msg); free(ext_error); @@ -672,9 +670,7 @@ auditd_plugin(const char *input, size_t in_len, uint64_t sequence, char **error) break; } __audit_dowarn2("plugin", "audit_remote.so", - "unsuccessful attempt to deliver audit " - "record", - ext_error, nosuccess_cnt); + "retry", ext_error, nosuccess_cnt); free(ext_error); (void) sleep(NOSUCCESS_DELAY); } |