Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/amd/hlfsd pull up rev 1.8 from trunk (requeste...
details: https://anonhg.NetBSD.org/src/rev/b813337c2b79
branches: netbsd-1-4
changeset: 469445:b813337c2b79
user: cgd <cgd%NetBSD.org@localhost>
date: Tue Sep 21 04:57:26 1999 +0000
description:
pull up rev 1.8 from trunk (requested by christos):
Upgrade amd(8) and related software to fix expoitable stack overflows
in amq(8), as reported in BUGTRAQ and elsewhere.
diffstat:
usr.sbin/amd/hlfsd/hlfsd.c | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diffs (53 lines):
diff -r 626d17eeb027 -r b813337c2b79 usr.sbin/amd/hlfsd/hlfsd.c
--- a/usr.sbin/amd/hlfsd/hlfsd.c Tue Sep 21 04:57:21 1999 +0000
+++ b/usr.sbin/amd/hlfsd/hlfsd.c Tue Sep 21 04:57:26 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hlfsd.c,v 1.7 1999/02/01 19:05:13 christos Exp $ */
+/* $NetBSD: hlfsd.c,v 1.7.2.1 1999/09/21 04:57:26 cgd Exp $ */
/*
* Copyright (c) 1997-1999 Erez Zadok
@@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
- * Id: hlfsd.c,v 1.3 1999/01/10 21:54:32 ezk Exp
+ * Id: hlfsd.c,v 1.4 1999/02/04 07:24:45 ezk Exp
*
* HLFSD was written at Columbia University Computer Science Department, by
* Erez Zadok <ezk%cs.columbia.edu@localhost> and Alexander Dupuy <dupuy%cs.columbia.edu@localhost>
@@ -85,10 +85,6 @@
char *home_subdir = HOME_SUBDIR;
char *logfile = DEFAULT_LOGFILE;
char *passwdfile = NULL; /* alternate passwd file to use */
-#if 0
-char *progname;
-int foreground = 1; /* This is the top-level server */
-#endif
char *slinkname = 0;
char hostname[MAXHOSTNAMELEN + 1] = "localhost";
int cache_interval = DEFAULT_CACHE_INTERVAL;
@@ -98,10 +94,6 @@
int orig_umask = 022;
int serverpid = 0;
nfstime startup;
-#if 0
-pid_t mypid; /* Current process id */
-#endif
-serv_state amd_state;
u_short nfs_port;
/* symbol must be available always */
@@ -111,12 +103,6 @@
char *mnttab_file_name = NULL;
#endif /* not MOUNT_TABLE_ON_FILE */
-#if 0
-#ifdef DEBUG
-int debug_flags = 0;
-#endif /* DEBUG */
-#endif
-
/* forward declarations */
void hlfsd_going_down(int rc);
Home |
Main Index |
Thread Index |
Old Index