Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern defflag {SETUID,FD}SCRIPTS



details:   https://anonhg.NetBSD.org/src/rev/42ecc8d22481
branches:  trunk
changeset: 833526:42ecc8d22481
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 30 00:37:37 2018 +0000

description:
defflag {SETUID,FD}SCRIPTS

diffstat:

 sys/kern/exec_script.c |  6 ++++--
 sys/kern/files.kern    |  3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r c14a46f61e20 -r 42ecc8d22481 sys/kern/exec_script.c
--- a/sys/kern/exec_script.c    Fri Jun 29 21:53:12 2018 +0000
+++ b/sys/kern/exec_script.c    Sat Jun 30 00:37:37 2018 +0000
@@ -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. */
diff -r c14a46f61e20 -r 42ecc8d22481 sys/kern/files.kern
--- a/sys/kern/files.kern       Fri Jun 29 21:53:12 2018 +0000
+++ b/sys/kern/files.kern       Sat Jun 30 00:37:37 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index