Red Hat Bugzilla – Bug 130466
insmod doesn't put .bss symbols in /proc/ksyms
Last modified: 2014-03-16 22:47:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
Using insmod to install a module does not put the .bss and .sbss
symbols in /proc/ksyms.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. insmod myModule.o
2. cat /proc/ksyms
3. No .bss symbols are shown...
Actual Results: I saw .text etc. symbols, but not .bss or .sbss ones
Expected Results: I should have seen the .bss and .sbss symbols
It's an easy fix! In insmod.c, in the section_names array, there is
a missing comma between ".bss" and ".sbss".
This probably won't ever be fixed for FC, as FC2 and later need new
modutils code for 2.6 kernels. The patch has been sent upstream though
- thanks for the report!