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轉速時如何產生。
謝謝。