aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-08-21 18:24:29 +0000
committerBrian Feldman <green@FreeBSD.org>1999-08-21 18:24:29 +0000
commitfa62586ae7fe9877022b8f93c71daac1af50c0f9 (patch)
tree9ba2362b45d1421a51526c4ed745a66433e4b0b3 /sys/sys/syslog.h
parent60767bf422aceba0cf762ec1755c5c7f75556f0d (diff)
downloadsrc-fa62586ae7fe9877022b8f93c71daac1af50c0f9.tar.gz
src-fa62586ae7fe9877022b8f93c71daac1af50c0f9.zip
This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related. Included are updates for all relevant manpages and also to /etc files, creating a new /var/log/security. Nothing in the system logs to /var/log/security yet as of the time of this commit. Reviewed by: rgrimes, imp, chris
Notes
Notes: svn path=/head/; revision=50126
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 61e3f2c0a0ed..0a9df010ce3f 100644
--- a/sys/sys/syslog.h
+++ b/sys/sys/syslog.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)syslog.h 8.1 (Berkeley) 6/2/93
- * $Id: syslog.h,v 1.15 1997/10/06 20:37:01 joerg Exp $
+ * $Id: syslog.h,v 1.16 1998/07/13 06:45:17 bde Exp $
*/
#ifndef _SYS_SYSLOG_H_
@@ -94,18 +94,19 @@ CODE prioritynames[] = {
#define LOG_USER (1<<3) /* random user-level messages */
#define LOG_MAIL (2<<3) /* mail system */
#define LOG_DAEMON (3<<3) /* system daemons */
-#define LOG_AUTH (4<<3) /* security/authorization messages */
+#define LOG_AUTH (4<<3) /* authorization messages */
#define LOG_SYSLOG (5<<3) /* messages generated internally by syslogd */
#define LOG_LPR (6<<3) /* line printer subsystem */
#define LOG_NEWS (7<<3) /* network news subsystem */
#define LOG_UUCP (8<<3) /* UUCP subsystem */
#define LOG_CRON (9<<3) /* clock daemon */
-#define LOG_AUTHPRIV (10<<3) /* security/authorization messages (private) */
+#define LOG_AUTHPRIV (10<<3) /* authorization messages (private) */
/* Facility #10 clashes in DEC UNIX, where */
/* it's defined as LOG_MEGASAFE for AdvFS */
/* event logging. */
#define LOG_FTP (11<<3) /* ftp daemon */
#define LOG_NTP (12<<3) /* NTP subsystem */
+#define LOG_SECURITY (13<<3) /* security subsystems (firewalling, etc.) */
/* other codes through 15 reserved for system use */
#define LOG_LOCAL0 (16<<3) /* reserved for local use */
@@ -135,7 +136,7 @@ CODE facilitynames[] = {
{ "mark", INTERNAL_MARK, }, /* INTERNAL */
{ "news", LOG_NEWS, },
{ "ntp", LOG_NTP, },
- { "security", LOG_AUTH, }, /* DEPRECATED */
+ { "security", LOG_SECURITY, },
{ "syslog", LOG_SYSLOG, },
{ "user", LOG_USER, },
{ "uucp", LOG_UUCP, },