blacklist modules with /bin/false rather than /bin/true to fail with error

message rather than failing without notification
This commit is contained in:
Patrick Schleizer 2019-09-07 05:47:34 +00:00
parent 8132052ce0
commit 7affddb3bb
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
3 changed files with 22 additions and 22 deletions

View File

@ -1,3 +1,3 @@
# Blacklists bluetooth. # Blacklists bluetooth.
install bluetooth /bin/true install bluetooth /bin/false
install btusb /bin/true install btusb /bin/false

View File

@ -1,3 +1,3 @@
# Blacklist thunderbolt and firewire to prevent some DMA attacks. # Blacklist thunderbolt and firewire to prevent some DMA attacks.
install firewire-core /bin/true install firewire-core /bin/false
install thunderbolt /bin/true install thunderbolt /bin/false

View File

@ -6,20 +6,20 @@
# #
# > Other distributions like Ubuntu[1] and Fedora[2] already ship a blacklist for various network protocols which aren't much in use by users and have a poor security track record. # > Other distributions like Ubuntu[1] and Fedora[2] already ship a blacklist for various network protocols which aren't much in use by users and have a poor security track record.
# #
install dccp /bin/true install dccp /bin/false
install sctp /bin/true install sctp /bin/false
install rds /bin/true install rds /bin/false
install tipc /bin/true install tipc /bin/false
install n-hdlc /bin/true install n-hdlc /bin/false
install ax25 /bin/true install ax25 /bin/false
install netrom /bin/true install netrom /bin/false
install x25 /bin/true install x25 /bin/false
install rose /bin/true install rose /bin/false
install decnet /bin/true install decnet /bin/false
install econet /bin/true install econet /bin/false
install af_802154 /bin/true install af_802154 /bin/false
install ipx /bin/true install ipx /bin/false
install appletalk /bin/true install appletalk /bin/false
install psnap /bin/true install psnap /bin/false
install p8023 /bin/true install p8023 /bin/false
install p8022 /bin/true install p8022 /bin/false