Re: library in kernel space

Paul Goyette <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
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 | [email protected]    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | [email protected]  |
| & Network Engineer  |                          | [email protected] |
+---------------------+--------------------------+----------------------+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.