diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2005-04-12 09:06:25 +0000 |
commit | 84dee8dde88b73b2e13dba2a7e117655103732f0 (patch) | |
tree | af57ee5943fc53988e7e936954a943ccbdff1b07 /security/cfs/files/patch-cfs.c | |
parent | Fix and document insecure temporary file handling in portupgrade. (diff) |
- Merge and split existing patch-a[a-f] files.
- Fix types issues on 64-bits architectures.
PR: ports/75878
Submitted by: Ville-Pertti Keinonen <will@exomi.com>
Approved by: maintainer timeout (3 months)
Notes
Notes:
svn path=/head/; revision=133129
Diffstat (limited to 'security/cfs/files/patch-cfs.c')
-rw-r--r-- | security/cfs/files/patch-cfs.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/cfs/files/patch-cfs.c b/security/cfs/files/patch-cfs.c new file mode 100644 index 000000000000..8d0347e41318 --- /dev/null +++ b/security/cfs/files/patch-cfs.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- cfs.c.orig ++++ cfs.c +@@ -43,7 +43,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> +@@ -240,7 +240,7 @@ + setuid(0); + umask(0); + +-#if defined(__NetBSD__) || defined(__bsdi__) ++#if defined(__NetBSD__) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__) + #ifndef DEBUG + /* detach from terminal */ + daemon(0,0); |