Print this page
5069 Removal of wu-ftpd
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Milan Jurik <milan.jurik@xylab.cz>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Adam Stevko <adam.stevko@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/syslog.3c
          +++ new/usr/src/man/man3c/syslog.3c
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  .nf
  28   28  \fBvoid\fR \fBcloselog\fR(\fBvoid\fR);
  29   29  .fi
  30   30  
  31   31  .LP
  32   32  .nf
  33   33  \fBint\fR \fBsetlogmask\fR(\fBint\fR \fImaskpri\fR);
  34   34  .fi
  35   35  
  36   36  .SH DESCRIPTION
  37      -.sp
  38   37  .LP
  39   38  The \fBsyslog()\fR function sends a message to \fBsyslogd\fR(1M), which,
  40   39  depending on the configuration of \fB/etc/syslog.conf\fR, logs it in an
  41   40  appropriate system log, writes it to the system console, forwards it to a list
  42   41  of users, or forwards it to \fBsyslogd\fR on another host over the network.
  43   42  The logged message includes a message header and a message body.  The message
  44   43  header consists of a facility indicator, a severity level indicator, a
  45   44  timestamp, a tag string, and optionally the process ID.
  46   45  .sp
  47   46  .LP
↓ open down ↓ 122 lines elided ↑ open up ↑
 170  169  .RS 14n
 171  170  The mail system.
 172  171  .RE
 173  172  
 174  173  .sp
 175  174  .ne 2
 176  175  .na
 177  176  \fB\fBLOG_DAEMON\fR\fR
 178  177  .ad
 179  178  .RS 14n
 180      -System daemons, such as \fBin.ftpd\fR(1M).
      179 +System daemons.
 181  180  .RE
 182  181  
 183  182  .sp
 184  183  .ne 2
 185  184  .na
 186  185  \fB\fBLOG_AUTH\fR\fR
 187  186  .ad
 188  187  .RS 14n
 189  188  The authentication / security / authorization system: \fBlogin\fR(1),
 190  189  \fBsu\fR(1M), \fBgetty\fR(1M).
↓ open down ↓ 196 lines elided ↑ open up ↑
 387  386  .LP
 388  387  The \fBsetlogmask()\fR function sets the log priority mask for the current
 389  388  process to \fImaskpri\fR and returns the previous mask.  If the \fImaskpri\fR
 390  389  argument is 0, the current log mask is not modified.  Calls by the current
 391  390  process to \fBsyslog()\fR with a priority not set in \fImaskpri\fR are
 392  391  rejected.  The mask for an individual priority \fIpri\fR is calculated by the
 393  392  macro \fBLOG_MASK(\fIpri\fR)\fR; the mask for all priorities up to and
 394  393  including \fItoppri\fR is given by the macro \fBLOG_UPTO(\fItoppri\fR)\fR. The
 395  394  default log mask allows all priorities to be logged.
 396  395  .SH RETURN VALUES
 397      -.sp
 398  396  .LP
 399  397  The \fBsetlogmask()\fR function returns the previous log priority mask. The
 400  398  \fBcloselog()\fR, \fBopenlog()\fR and \fBsyslog()\fR functions return no value.
 401  399  .SH ERRORS
 402      -.sp
 403  400  .LP
 404  401  No errors are defined.
 405  402  .SH EXAMPLES
 406  403  .LP
 407  404  \fBExample 1 \fRExample of \fBLOG_ALERT\fR message.
 408  405  .sp
 409  406  .LP
 410  407  This call logs a message at priority \fBLOG_ALERT\fR:
 411  408  
 412  409  .sp
↓ open down ↓ 55 lines elided ↑ open up ↑
 468  465  
 469  466  .sp
 470  467  .in +2
 471  468  .nf
 472  469  \fBsyslog(LOG_INFO|LOG_LOCAL2, "error: %m")\fR;
 473  470  .fi
 474  471  .in -2
 475  472  .sp
 476  473  
 477  474  .SH ATTRIBUTES
 478      -.sp
 479  475  .LP
 480  476  See \fBattributes\fR(5) for descriptions of the following attributes:
 481  477  .sp
 482  478  
 483  479  .sp
 484  480  .TS
 485  481  box;
 486  482  c | c
 487  483  l | l .
 488  484  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 489  485  _
 490  486  Interface Stability     Committed
 491  487  _
 492  488  MT-Level        Safe
 493  489  _
 494  490  Standard        See \fBstandards\fR(5).
 495  491  .TE
 496  492  
 497  493  .SH SEE ALSO
 498      -.sp
 499  494  .LP
 500  495  \fBat\fR(1), \fBcrontab\fR(1), \fBlogger\fR(1), \fBlogin\fR(1), \fBlpc\fR(1B),
 501  496  \fBlpr\fR(1B), \fBauditd\fR(1M), \fBcron\fR(1M), \fBgetty\fR(1M),
 502      -\fBin.ftpd\fR(1M), \fBsu\fR(1M), \fBsyslogd\fR(1M), \fBprintf\fR(3UCB),
      497 +\fBsu\fR(1M), \fBsyslogd\fR(1M), \fBprintf\fR(3UCB),
 503  498  \fBsyslog.conf\fR(4), \fBattributes\fR(5), \fBstandards\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX