Print this page
4211 Some syslog facility names and symbols are missing
1762 Syslogd man page: missing reference.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/syslog.h
          +++ new/usr/src/uts/common/sys/syslog.h
   1    1  /*
        2 + * Copyright (c) 2013 Gary Mills
   2    3   * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
   3    4   * Use is subject to license terms.
   4    5   */
   5    6  
   6    7  /*      Copyright (c) 1988 AT&T */
   7    8  /*        All Rights Reserved   */
   8    9  
   9   10  /*
  10   11   * University Copyright- Copyright (c) 1982, 1986, 1988
  11   12   * The Regents of the University of California
  12   13   * All Rights Reserved
  13   14   *
  14   15   * University Acknowledgment- Portions of this document are derived from
  15   16   * software developed by the University of California, Berkeley, and its
  16   17   * contributors.
  17   18   */
  18   19  
  19   20  #ifndef _SYS_SYSLOG_H
  20   21  #define _SYS_SYSLOG_H
  21   22  
  22      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  23      -
  24   23  #ifdef  __cplusplus
  25   24  extern "C" {
  26   25  #endif
  27   26  
  28   27  /*
  29   28   *  Facility codes
  30   29   */
  31   30  #define LOG_KERN        (0<<3)  /* kernel messages */
  32   31  #define LOG_USER        (1<<3)  /* random user-level messages */
  33   32  #define LOG_MAIL        (2<<3)  /* mail system */
  34   33  #define LOG_DAEMON      (3<<3)  /* system daemons */
  35   34  #define LOG_AUTH        (4<<3)  /* security/authorization messages */
  36   35  #define LOG_SYSLOG      (5<<3)  /* messages generated internally by syslogd */
  37   36  #define LOG_LPR         (6<<3)  /* line printer subsystem */
  38   37  #define LOG_NEWS        (7<<3)  /* netnews subsystem */
  39   38  #define LOG_UUCP        (8<<3)  /* uucp subsystem */
       39 +#define LOG_BSDCRON     (9<<3)  /* BSD cron/at subsystem */
       40 +#define LOG_AUTHPRIV    (10<<3) /* BSD security/authorization messages */
       41 +#define LOG_FTP         (11<<3) /* file transfer subsystem */
       42 +#define LOG_NTP         (12<<3) /* network time subsystem */
  40   43  #define LOG_AUDIT       (13<<3) /* audit subsystem */
       44 +#define LOG_CONSOLE     (14<<3) /* BSD console messages */
  41   45  #define LOG_CRON        (15<<3) /* cron/at subsystem */
  42      -        /* other codes through 15 reserved for system use */
  43   46  #define LOG_LOCAL0      (16<<3) /* reserved for local use */
  44   47  #define LOG_LOCAL1      (17<<3) /* reserved for local use */
  45   48  #define LOG_LOCAL2      (18<<3) /* reserved for local use */
  46   49  #define LOG_LOCAL3      (19<<3) /* reserved for local use */
  47   50  #define LOG_LOCAL4      (20<<3) /* reserved for local use */
  48   51  #define LOG_LOCAL5      (21<<3) /* reserved for local use */
  49   52  #define LOG_LOCAL6      (22<<3) /* reserved for local use */
  50   53  #define LOG_LOCAL7      (23<<3) /* reserved for local use */
  51   54  
  52   55  #define LOG_NFACILITIES 24      /* maximum number of facilities */
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX