diff options
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r-- | usr/src/uts/common/os/logsubr.c | 5 | ||||
-rw-r--r-- | usr/src/uts/common/sys/syslog.h | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/usr/src/uts/common/os/logsubr.c b/usr/src/uts/common/os/logsubr.c index f5cebbf82e..149f5f8a88 100644 --- a/usr/src/uts/common/os/logsubr.c +++ b/usr/src/uts/common/os/logsubr.c @@ -20,6 +20,7 @@ */ /* + * Copyright (c) 2013 Gary Mills * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. */ @@ -73,8 +74,8 @@ static char log_pri[LOG_PRIMASK + 1][LOG_PRISIZE] = { static char log_fac[LOG_NFACILITIES + 1][LOG_FACSIZE] = { "kern", "user", "mail", "daemon", "auth", "syslog", "lpr", "news", - "uucp", "resv9", "resv10", "resv11", - "resv12", "audit", "resv14", "cron", + "uucp", "altcron", "authpriv", "ftp", + "ntp", "audit", "console", "cron", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7", "unknown" diff --git a/usr/src/uts/common/sys/syslog.h b/usr/src/uts/common/sys/syslog.h index 6f073959b2..605cae78d9 100644 --- a/usr/src/uts/common/sys/syslog.h +++ b/usr/src/uts/common/sys/syslog.h @@ -1,4 +1,5 @@ /* + * Copyright (c) 2013 Gary Mills * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -19,8 +20,6 @@ #ifndef _SYS_SYSLOG_H #define _SYS_SYSLOG_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif @@ -37,9 +36,13 @@ extern "C" { #define LOG_LPR (6<<3) /* line printer subsystem */ #define LOG_NEWS (7<<3) /* netnews subsystem */ #define LOG_UUCP (8<<3) /* uucp subsystem */ +#define LOG_ALTCRON (9<<3) /* BSD cron/at subsystem */ +#define LOG_AUTHPRIV (10<<3) /* BSD security/authorization messages */ +#define LOG_FTP (11<<3) /* file transfer subsystem */ +#define LOG_NTP (12<<3) /* network time subsystem */ #define LOG_AUDIT (13<<3) /* audit subsystem */ +#define LOG_CONSOLE (14<<3) /* BSD console messages */ #define LOG_CRON (15<<3) /* cron/at subsystem */ - /* other codes through 15 reserved for system use */ #define LOG_LOCAL0 (16<<3) /* reserved for local use */ #define LOG_LOCAL1 (17<<3) /* reserved for local use */ #define LOG_LOCAL2 (18<<3) /* reserved for local use */ |