Module Name: src
Committed By: pgoyette
Date: Mon Oct 28 16:03:55 UTC 2019
Modified Files:
src/sys/modules: Makefile
src/sys/modules/filemon: Makefile
Log Message:
Continue to build the filemon module, but don't install it. Hopefully
this will help us detect any additional bit-rot that might occur.
XXX It might be a good idea to modify the file permissions on /dev/filemon
XXX to prevent auto-loading of the driver module by non-privileged users.
To generate a diff of this commit:
cvs rdiff -u -r1.229 -r1.230 src/sys/modules/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/filemon/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/modules/Makefile
diff -u src/sys/modules/Makefile:1.229 src/sys/modules/Makefile:1.230
--- src/sys/modules/Makefile:1.229 Mon Oct 28 13:19:50 2019
+++ src/sys/modules/Makefile Mon Oct 28 16:03:55 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.229 2019/10/28 13:19:50 maya Exp $
+# $NetBSD: Makefile,v 1.230 2019/10/28 16:03:55 pgoyette Exp $
.include <bsd.own.mk>
@@ -54,7 +54,7 @@ SUBDIR+= exec_script
SUBDIR+= fdesc
SUBDIR+= ffs
SUBDIR+= filecore
-#SUBDIR+= filemon
+SUBDIR+= filemon
SUBDIR+= flash
SUBDIR+= fss
SUBDIR+= gpio
Index: src/sys/modules/filemon/Makefile
diff -u src/sys/modules/filemon/Makefile:1.3 src/sys/modules/filemon/Makefile:1.4
--- src/sys/modules/filemon/Makefile:1.3 Sun Oct 13 07:28:13 2019
+++ src/sys/modules/filemon/Makefile Mon Oct 28 16:03:55 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/10/13 07:28:13 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2019/10/28 16:03:55 pgoyette Exp $
.include "../Makefile.inc"
@@ -11,4 +11,10 @@ NOMAN = no
COPTS.filemon_wrapper.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
+# Due to security concerns, we don't install the filemon module. We
+# do, however, want to keep building it to prevent bit-rot. Define
+# an empty install target for this.
+
+kmodinstall:
+
.include <bsd.kmodule.mk>