Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src don't use LOG_CONS



details:   https://anonhg.NetBSD.org/src/rev/13911ae11ebb
branches:  trunk
changeset: 502059:13911ae11ebb
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jan 11 02:58:05 2001 +0000

description:
don't use LOG_CONS

diffstat:

 crypto/dist/heimdal/lib/auth/pam/pam.c   |  4 ++--
 crypto/dist/krb4/appl/bsd/rlogind.c      |  4 ++--
 crypto/dist/krb4/appl/bsd/su.c           |  4 ++--
 crypto/dist/krb4/appl/kip/kipd.c         |  4 ++--
 crypto/dist/krb4/lib/auth/pam/pam.c      |  6 +++---
 crypto/dist/openssl/crypto/bio/bss_log.c |  2 +-
 dist/am-utils/libamu/xutil.c             |  5 +----
 7 files changed, 13 insertions(+), 16 deletions(-)

diffs (145 lines):

diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/heimdal/lib/auth/pam/pam.c
--- a/crypto/dist/heimdal/lib/auth/pam/pam.c    Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/heimdal/lib/auth/pam/pam.c    Thu Jan 11 02:58:05 2001 +0000
@@ -33,7 +33,7 @@
 
 #ifdef HAVE_CONFIG_H
 #include<config.h>
-RCSID("$Id: pam.c,v 1.1.1.2 2000/08/02 20:00:23 assar Exp $");
+RCSID("$Id: pam.c,v 1.2 2001/01/11 03:04:02 lukem Exp $");
 #endif
 
 #include <stdio.h>
@@ -64,7 +64,7 @@
 {
   va_list args;
   va_start(args, format);
-  openlog("pam_krb4", LOG_CONS|LOG_PID, LOG_AUTH);
+  openlog("pam_krb4", LOG_PID, LOG_AUTH);
   vsyslog(level | LOG_AUTH, format, args);
   va_end(args);
   closelog();
diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/krb4/appl/bsd/rlogind.c
--- a/crypto/dist/krb4/appl/bsd/rlogind.c       Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/krb4/appl/bsd/rlogind.c       Thu Jan 11 02:58:05 2001 +0000
@@ -42,7 +42,7 @@
 
 #include "bsd_locl.h"
 
-RCSID("$Id: rlogind.c,v 1.1.1.2 2000/12/29 01:42:23 assar Exp $");
+RCSID("$Id: rlogind.c,v 1.2 2001/01/11 03:01:28 lukem Exp $");
 
 extern int __check_rhosts_file;
 
@@ -316,7 +316,7 @@
 
     set_progname(argv[0]);
 
-    openlog("rlogind", LOG_PID | LOG_CONS, LOG_AUTH);
+    openlog("rlogind", LOG_PID, LOG_AUTH);
 
     opterr = 0;
     while ((ch = getopt(argc, argv, ARGSTR)) != -1)
diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/krb4/appl/bsd/su.c
--- a/crypto/dist/krb4/appl/bsd/su.c    Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/krb4/appl/bsd/su.c    Thu Jan 11 02:58:05 2001 +0000
@@ -33,7 +33,7 @@
 
 #include "bsd_locl.h"
 
-RCSID ("$Id: su.c,v 1.1.1.2 2000/12/29 01:42:23 assar Exp $");
+RCSID ("$Id: su.c,v 1.2 2001/01/11 03:01:28 lukem Exp $");
 
 #ifdef SYSV_SHADOW
 #include "sysv_shadow.h"
@@ -126,7 +126,7 @@
     if (errno)
        prio = 0;
     setpriority (PRIO_PROCESS, 0, -2);
-    openlog ("su", LOG_CONS, LOG_AUTH);
+    openlog ("su", 0, LOG_AUTH);
 
     /* get current login name and shell */
     ruid = getuid ();
diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/krb4/appl/kip/kipd.c
--- a/crypto/dist/krb4/appl/kip/kipd.c  Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/krb4/appl/kip/kipd.c  Thu Jan 11 02:58:05 2001 +0000
@@ -33,7 +33,7 @@
 
 #include "kip.h"
 
-RCSID("$Id: kipd.c,v 1.1.1.2 2000/12/29 01:42:24 assar Exp $");
+RCSID("$Id: kipd.c,v 1.2 2001/01/11 03:01:29 lukem Exp $");
 
 static int
 recv_conn (int sock, des_cblock *key, des_key_schedule schedule,
@@ -163,7 +163,7 @@
     int optind = 0;
 
     set_progname (argv[0]);
-    roken_openlog(__progname, LOG_PID|LOG_CONS, LOG_DAEMON);
+    roken_openlog(__progname, LOG_PID, LOG_DAEMON);
 
     if (getarg (args, sizeof(args) / sizeof(args[0]), argc, argv,
                &optind))
diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/krb4/lib/auth/pam/pam.c
--- a/crypto/dist/krb4/lib/auth/pam/pam.c       Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/krb4/lib/auth/pam/pam.c       Thu Jan 11 02:58:05 2001 +0000
@@ -33,7 +33,7 @@
 
 #ifdef HAVE_CONFIG_H
 #include<config.h>
-RCSID("$Id: pam.c,v 1.1.1.2 2000/12/29 01:43:54 assar Exp $");
+RCSID("$Id: pam.c,v 1.2 2001/01/11 03:00:31 lukem Exp $");
 #endif
 
 #include <stdio.h>
@@ -64,7 +64,7 @@
 {
   va_list args;
   va_start(args, format);
-  openlog("pam_krb4", LOG_CONS|LOG_PID, LOG_AUTH);
+  openlog("pam_krb4", LOG_PID, LOG_AUTH);
   vsyslog(level, format, args);
   va_end(args);
   closelog();
@@ -128,7 +128,7 @@
   if (ctrl_off(KRB4_DEBUG))
     return;
   va_start(args, format);
-  openlog("pam_krb4", LOG_CONS|LOG_PID, LOG_AUTH);
+  openlog("pam_krb4", LOG_PID, LOG_AUTH);
   vsyslog(LOG_DEBUG, format, args);
   va_end(args);
   closelog();
diff -r 6720af3b796f -r 13911ae11ebb crypto/dist/openssl/crypto/bio/bss_log.c
--- a/crypto/dist/openssl/crypto/bio/bss_log.c  Thu Jan 11 02:48:11 2001 +0000
+++ b/crypto/dist/openssl/crypto/bio/bss_log.c  Thu Jan 11 02:58:05 2001 +0000
@@ -318,7 +318,7 @@
 
 static void xopenlog(BIO* bp, const char* name, int level)
 {
-       openlog(name, LOG_PID|LOG_CONS, level);
+       openlog(name, LOG_PID, level);
 }
 
 static void xsyslog(BIO *bp, int priority, const char *string)
diff -r 6720af3b796f -r 13911ae11ebb dist/am-utils/libamu/xutil.c
--- a/dist/am-utils/libamu/xutil.c      Thu Jan 11 02:48:11 2001 +0000
+++ b/dist/am-utils/libamu/xutil.c      Thu Jan 11 02:58:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xutil.c,v 1.3 2000/11/21 01:35:37 wiz Exp $    */
+/*     $NetBSD: xutil.c,v 1.4 2001/01/11 02:58:05 lukem Exp $  */
 
 /*
  * Copyright (c) 1997-2000 Erez Zadok
@@ -811,9 +811,6 @@
       new_logfp = stderr;
       openlog(am_get_progname(),
              LOG_PID
-# ifdef LOG_CONS
-             | LOG_CONS
-# endif /* LOG_CONS */
 # ifdef LOG_NOWAIT
              | LOG_NOWAIT
 # endif /* LOG_NOWAIT */



Home | Main Index | Thread Index | Old Index