defflag {SETUID,FD}SCRIPTS

This commit is contained in:
christos 2018-06-30 00:37:37 +00:00
parent 8f8bb0d3fd
commit f3e9eebed2
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_script.c,v 1.75 2018/04/27 18:33:24 christos Exp $ */
/* $NetBSD: exec_script.c,v 1.76 2018/06/30 00:37:37 christos Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@ -31,7 +31,9 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.75 2018/04/27 18:33:24 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.76 2018/06/30 00:37:37 christos Exp $");
#include "opt_script.h"
#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
#define FDSCRIPTS /* Need this for safe set-id scripts. */

View File

@ -1,10 +1,11 @@
# $NetBSD: files.kern,v 1.16 2017/12/16 10:15:12 maxv Exp $
# $NetBSD: files.kern,v 1.17 2018/06/30 00:37:38 christos Exp $
#
# kernel sources
#
define kern: machdep, uvm
defflag opt_kern.h KERN
defflag opt_script.h SETUIDSCRIPTS FDSCRIPTS
file compat/common/compat_util.c kern
file compat/common/compat_mod.c compat_netbsd | compat_netbsd32
file conf/debugsyms.c kern