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.