Re: [OS-BUILD PATCHv2] mod-denylist.sh: Change to denylist

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

 



On 6/29/21 9:51 AM, Prarit Bhargava (via Email Bridge) wrote:

-check_blacklist()
+check_denylist()
  {
  	mod=$(find "$RpmDir/$ModDir" -name "$1")
  	[ ! "$mod" ] && return 0
  	if modinfo "$mod" | grep -q '^alias:\s\+net-'; then
  		mod="${1##*/}"
  		mod="${mod%.ko*}"
-		echo "$mod has an alias that allows auto-loading. Blacklisting."
-		blacklist "$mod"
+		echo "Blocking $mod from auto-loading."
+		denylist "$mod"

Just a quick note here. I made this change because I'm not 100% sure "denylisting" is a word. I can be easily convinced to change the message to

$mod has an alias that allows auto-loading. Denylisting.

P.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux