diff options
author | green <green@FreeBSD.org> | 1999-08-21 18:24:29 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-08-21 18:24:29 +0000 |
commit | 1d06e20aed2b1429061f40a5d5b6d1bacf6f95d0 (patch) | |
tree | 26670bf4d42f5f57918e71d07a168e9a7d10e19c /sys/sys/syslog.h | |
parent | 22752da35b8dc963bcb0e36fc0bf489f95c71386 (diff) | |
download | FreeBSD-src-1d06e20aed2b1429061f40a5d5b6d1bacf6f95d0.zip FreeBSD-src-1d06e20aed2b1429061f40a5d5b6d1bacf6f95d0.tar.gz |
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
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r-- | sys/sys/syslog.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 61e3f2c..0a9df01 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, }, |