tech-kern archive

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

Re: library in kernel space



On Sun, 23 Mar 2025, Peter Skvarka wrote:

And does not exist another way how to make kobj_checksyms not check some functions when module is loaded ?

All global symbols are exported.  If you have private routines, make
them static and they won't be global.

There is no supportable way of bwing patially exported.  There is
only one kernel ssymbol table.

I did not expect that not-exported symbols are checked for duplicity. I expect it in case of exported symbols.

So, now you have learned more about modules.

Good luck.


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index