Tag linux

2 bookmarks have this tag.

2025-01-19

78.

Using LD, the GNU linker - Options

ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html

--wrap symbolUse a wrapper function for symbol. Any undefined reference tosymbol will be resolved to wrap_symbol. Anyundefined reference to real_symbol will be resolved tosymbol.

This can be used to provide a wrapper for a system function. Thewrapper function should be called wrap_symbol. If itwishes to call the system function, it should callreal_symbol.

Here is a trivial example:

2024-07-25

35.

Про гибридные ядра

linux-kernel-labs.github.io/refs/heads/master/so2/lec1-intro.html#micro-kernels-vs-monolithic-kernels

Linus Torvalds said of this issue:

"As to the whole 'hybrid kernel' thing - it's just marketing. It's 'oh, those microkernels had good PR, how can we try to get good PR for our working kernel? Oh, I know, let's use a cool name and try to imply that it has all the PR advantages that that other system has'."