summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-18 17:07:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-10-18 17:07:12 +0000
commitcc8f6af2493a8db80b4a01e382b22ceff7c44a8e (patch)
treeb83e7727801f7f29856680da4a027da88e549d11
parent8bb78781f6e79344bae3d561553ac84435e5e757 (diff)
force FDSCRIPTS after include files are pulled in
-rw-r--r--sys/kern/exec_script.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index 7f7c90a72cc..7c27c632eaa 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_script.c,v 1.8 1999/01/11 05:12:22 millert Exp $ */
+/* $OpenBSD: exec_script.c,v 1.9 1999/10/18 17:07:11 deraadt Exp $ */
/* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */
/*
@@ -31,10 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
-#define FDSCRIPTS /* Need this for safe set-id scripts. */
-#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
@@ -49,6 +45,10 @@
#include <sys/exec_script.h>
+#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
+#define FDSCRIPTS /* Need this for safe set-id scripts. */
+#endif
+
/*
* exec_script_makecmds(): Check if it's an executable shell script.
*