From 90cdd717f8352a3b3eacdc154dfb1f9ff2fabeaf Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 16 Mar 1998 18:31:09 +0000 Subject: includes.h: Addition of NetBSD 1.3 fix, fix for HPUX 9.x, 10.x zombie problem. password.c: Fix for Thursby to stop Dave clients failing in share mode security (this was their bug - they were interpreting the uid field in share mode which is explicitly denied by the spec but it's easier for us to fix it than them :-). Jeremy. (This used to be commit 39372d9e20803d32c0c5b87226a72b007978baad) --- source3/include/includes.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 94bf23cef5..c9a515af9a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -492,16 +492,22 @@ char *mktemp(char *); /* No standard include */ #endif -#ifdef NETBSD -#include +#ifdef NETBSD +#ifdef NetBSD1_3 +#include +#ifdef ALLOW_CHANGE_PASSWORD +#include +#endif /* ALLOW_CHANGE_PASSWORD */ +#else /* NetBSD1_3 */ +#include +#endif /* NetBSD1_3 */ #include /* you may not need this */ -#define NO_GETSPNAM +#define NO_GETSPNAM #define SIGNAL_CAST (void (*)()) #define USE_DIRECT #define REPLACE_INNETGR -#endif - +#endif #ifdef FreeBSD @@ -598,6 +604,7 @@ char *mktemp(char *); /* No standard include */ /* Ken Weiss tells us that SIGCLD_IGNORE is not good for HPUX */ /* #define SIGCLD_IGNORE */ +#define USE_SIGPROCMASK /* Needed to stop zombie processes on HPUX 9.x and 10.x.*/ #endif /* HPUX */ -- cgit