Page MenuHomeFreeBSD

D611.1795968948.diff
No OneTemporary

Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None

D611.1795968948.diff

Index: libexec/getty/main.c
===================================================================
--- libexec/getty/main.c
+++ libexec/getty/main.c
@@ -187,7 +187,7 @@
signal(SIGINT, SIG_IGN);
signal(SIGQUIT, SIG_IGN);
- openlog("getty", LOG_ODELAY|LOG_CONS|LOG_PID, LOG_AUTH);
+ openlog("getty", LOG_CONS|LOG_PID, LOG_AUTH);
gethostname(hostname, sizeof(hostname) - 1);
hostname[sizeof(hostname) - 1] = '\0';
if (hostname[0] == '\0')
Index: libexec/rshd/rshd.c
===================================================================
--- libexec/rshd/rshd.c
+++ libexec/rshd/rshd.c
@@ -127,7 +127,7 @@
int ch, on = 1;
struct sockaddr_storage from;
- openlog("rshd", LOG_PID | LOG_ODELAY, LOG_DAEMON);
+ openlog("rshd", LOG_PID, LOG_DAEMON);
opterr = 0;
while ((ch = getopt(argc, argv, OPTIONS)) != -1)
Index: sbin/init/init.c
===================================================================
--- sbin/init/init.c
+++ sbin/init/init.c
@@ -242,7 +242,7 @@
* Note that this does NOT open a file...
* Does 'init' deserve its own facility number?
*/
- openlog("init", LOG_CONS|LOG_ODELAY, LOG_AUTH);
+ openlog("init", LOG_CONS, LOG_AUTH);
/*
* Create an initial session.
Index: usr.bin/lock/lock.c
===================================================================
--- usr.bin/lock/lock.c
+++ usr.bin/lock/lock.c
@@ -97,7 +97,7 @@
char *ap, *cryptpw, *mypw, *ttynam, *tzn;
char hostname[MAXHOSTNAMELEN], s[BUFSIZ], s1[BUFSIZ];
- openlog("lock", LOG_ODELAY, LOG_AUTH);
+ openlog("lock", 0, LOG_AUTH);
sectimeout = TIMEOUT;
pw = NULL;
Index: usr.bin/login/login.c
===================================================================
--- usr.bin/login/login.c
+++ usr.bin/login/login.c
@@ -198,7 +198,7 @@
(void)alarm(timeout);
(void)setpriority(PRIO_PROCESS, 0, 0);
- openlog("login", LOG_ODELAY, LOG_AUTH);
+ openlog("login", 0, LOG_AUTH);
uid = getuid();
euid = geteuid();
Index: usr.sbin/timed/timedc/timedc.c
===================================================================
--- usr.sbin/timed/timedc/timedc.c
+++ usr.sbin/timed/timedc/timedc.c
@@ -66,7 +66,7 @@
{
register struct cmd *c;
- openlog("timedc", LOG_ODELAY, LOG_AUTH);
+ openlog("timedc", 0, LOG_AUTH);
/*
* security dictates!

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 29, 4:15 PM (13 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42092576
Default Alt Text
D611.1795968948.diff (2 KB)

Event Timeline