Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Disable filemon.
details: https://anonhg.NetBSD.org/src/rev/1fffd672b9d0
branches: trunk
changeset: 464890:1fffd672b9d0
user: maya <maya%NetBSD.org@localhost>
date: Mon Oct 28 13:19:50 2019 +0000
description:
Disable filemon.
It isn't suited for general use (that is, it poses security risks),
but the existence of the module means it is auto-loaded when /dev/filemon
is opened, which can be done by any user.
Thanks Ilja van Sprundel for the heads up.
diffstat:
distrib/sets/lists/modules/mi | 6 +++---
sys/modules/Makefile | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r f79c51b95e28 -r 1fffd672b9d0 distrib/sets/lists/modules/mi
--- a/distrib/sets/lists/modules/mi Mon Oct 28 13:04:18 2019 +0000
+++ b/distrib/sets/lists/modules/mi Mon Oct 28 13:19:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.126 2019/09/22 22:59:37 christos Exp $
+# $NetBSD: mi,v 1.127 2019/10/28 13:19:50 maya Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -168,8 +168,8 @@
./@MODULEDIR@/ffs/ffs.kmod base-kernel-modules kmod
./@MODULEDIR@/filecore base-kernel-modules kmod
./@MODULEDIR@/filecore/filecore.kmod base-kernel-modules kmod
-./@MODULEDIR@/filemon base-kernel-modules kmod
-./@MODULEDIR@/filemon/filemon.kmod base-kernel-modules kmod
+./@MODULEDIR@/filemon base-obsolete obsolete
+./@MODULEDIR@/filemon/filemon.kmod base-obsolete obsolete
./@MODULEDIR@/flash base-kernel-modules kmod
./@MODULEDIR@/flash/flash.kmod base-kernel-modules kmod
./@MODULEDIR@/fss base-kernel-modules kmod
diff -r f79c51b95e28 -r 1fffd672b9d0 sys/modules/Makefile
--- a/sys/modules/Makefile Mon Oct 28 13:04:18 2019 +0000
+++ b/sys/modules/Makefile Mon Oct 28 13:19:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.228 2019/10/28 02:56:40 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.229 2019/10/28 13:19:50 maya Exp $
.include <bsd.own.mk>
@@ -54,7 +54,7 @@
SUBDIR+= fdesc
SUBDIR+= ffs
SUBDIR+= filecore
-SUBDIR+= filemon
+#SUBDIR+= filemon
SUBDIR+= flash
SUBDIR+= fss
SUBDIR+= gpio
Home |
Main Index |
Thread Index |
Old Index