Reputation: 42379
Under Windows, there are several ways to automatically load a given dll into any newly-started process.
Is it possible to do the same thing under Linux?
Upvotes: 1
Views: 61
Reputation: 213937
Is it possible to do the same thing under Linux?
There is /etc/ld.so.preload
, but that only works for dynamically-linked program binaries. Documentation here.
You also need to be extremely careful: if you specify something that can't be preloaded, you may make your system unbootable, or you may no longer be able to log in.
Upvotes: 1