1
许多设备驱动程序在CentOS/RHEL中显示为kmod-<drivername>
rpm包,并且在这些包中总是有一个greylist.txt,其中包含一些内核符号作为其内容。这里有一个例子:kmod rpm包中的greylist.txt是什么
[[email protected] download]# rpm -ql kmod-qed
/etc/depmod.d/qed.conf
/lib/modules/3.10.0-327.36.2.el7.x86_64
/lib/modules/3.10.0-327.36.2.el7.x86_64/extra
/lib/modules/3.10.0-327.36.2.el7.x86_64/extra/qed
/lib/modules/3.10.0-327.36.2.el7.x86_64/extra/qed/qed.ko
/usr/share/doc/kmod-qed/greylist.txt
[[email protected] download]# cat /usr/share/doc/kmod-qed/greylist.txt
bitmap_clear
bitmap_set
__fentry__
ioremap_wc
pci_enable_msi_range
pci_enable_msix_range
pci_ioremap_bar
pci_is_pcie
pci_read_config_byte
pci_read_config_word
pci_save_state
release_firmware
request_firmware
__smp_mb__after_atomic
__stack_chk_fail
synchronize_irq
tasklet_init
__tasklet_schedule
vzalloc
x86_dma_fallback_dev
zlib_inflate
zlib_inflateEnd
zlib_inflateInit2
zlib_inflate_workspacesize
我猜一定有事情做与内核ABI白名单,但究竟是该greylist
文件的目的是什么?以及包装kmod转速时如何产生。
谢谢。