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.
This commit is contained in:
parent
e372fea7cc
commit
adfb392104
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user