summaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-10-14 04:37:04 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-10-14 04:37:04 +0000
commitf4a9d73290a8532902b9966bdbe70a0635534236 (patch)
tree4c848a4d09d4fbcc1f681f4c9ba4ee218c088809 /security/cfs
parentUpgrade to 1.2.1. Bugfixes only, now new features. (diff)
Fix cfsd so that it detaches from the controlling terminal.
PR: closes ports/4757 Submitted by: saken@rmta.ml.org (Scott A. Kenney)
Notes
Notes: svn path=/head/; revision=8258
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/files/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/cfs/files/patch-ab b/security/cfs/files/patch-ab
index f9ba2f8476ed..3bdd4e1ec5b0 100644
--- a/security/cfs/files/patch-ab
+++ b/security/cfs/files/patch-ab
@@ -1,5 +1,5 @@
--- cfs.c.orig Wed Mar 20 09:57:56 1996
-+++ cfs.c Wed Jul 30 12:06:01 1997
++++ cfs.c Mon Oct 13 21:30:22 1997
@@ -42,7 +42,7 @@
struct in_addr validhost;
@@ -9,3 +9,12 @@
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);