summaryrefslogtreecommitdiff
path: root/security/cfs/files/patch-ab
blob: 3bdd4e1ec5b045abacbbc3f171dcb05493faed28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- cfs.c.orig	Wed Mar 20 09:57:56 1996
+++ cfs.c	Mon Oct 13 21:30:22 1997
@@ -42,7 +42,7 @@
 
 struct in_addr validhost;
 
-#if defined(SOLARIS2X) || defined(__NetBSD__)
+#if defined(SOLARIS2X) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
 void nfs_program_2();
 void adm_program_2();
 #include <string.h>
@@ -233,7 +233,7 @@
  	setuid(0);
 	umask(0);
 
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
 #ifndef DEBUG
 	/* detach from terminal */
 	daemon(0,0);