Tag linux
2 bookmarks have this tag.
2 bookmarks have this tag.
--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:
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'."