Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/syslogd/syslogd.c
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
* more extensive changes by Eric Allman (again) | * more extensive changes by Eric Allman (again) | ||||
* Extension to log by program name as well as facility and priority | * Extension to log by program name as well as facility and priority | ||||
* by Peter da Silva. | * by Peter da Silva. | ||||
* -u and -v by Harlan Stenn. | * -u and -v by Harlan Stenn. | ||||
* Priority comparison code by Harlan Stenn. | * Priority comparison code by Harlan Stenn. | ||||
*/ | */ | ||||
#define MAXLINE 1024 /* maximum line length */ | #define MAXLINE 1024 /* maximum line length */ | ||||
#define MAXSVLINE 120 /* maximum saved line length */ | #define MAXSVLINE MAXLINE /* maximum saved line length */ | ||||
#define DEFUPRI (LOG_USER|LOG_NOTICE) | #define DEFUPRI (LOG_USER|LOG_NOTICE) | ||||
#define DEFSPRI (LOG_KERN|LOG_CRIT) | #define DEFSPRI (LOG_KERN|LOG_CRIT) | ||||
#define TIMERINTVL 30 /* interval for checking flush, mark */ | #define TIMERINTVL 30 /* interval for checking flush, mark */ | ||||
#define TTYMSGTIME 1 /* timeout passed to ttymsg */ | #define TTYMSGTIME 1 /* timeout passed to ttymsg */ | ||||
#define RCVBUF_MINSIZE (80 * 1024) /* minimum size of dgram rcv buffer */ | #define RCVBUF_MINSIZE (80 * 1024) /* minimum size of dgram rcv buffer */ | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||
▲ Show 20 Lines • Show All 2,771 Lines • Show Last 20 Lines |