Tag linux

3 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 symbol
Use a wrapper function for symbol. Any undefined reference to
symbol will be resolved to wrap_symbol. Any
undefined reference to real_symbol will be resolved to
symbol.

This can be used to provide a wrapper for a system function. The
wrapper function should be called wrap_symbol. If it
wishes to call the system function, it should call
real_symbol.

Here is a trivial example:

2024-11-12

47.

dumpstack.io: Прозрачное подключение по ssh через существующее ssh соединение

dumpstack.io/1434499200_ssh_over_ssh.html

Host avel.cain
User root
HostName 203.0.113.59
PreferredAuthentications publickey
IdentityFile ~/.ssh/avel
ProxyCommand ssh cain nc %h %p 2> /dev/null

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'."