Skip to main content
Share Your Experience: Take the 2024 Developer Survey
20 votes

Why isn't LD_PRELOAD disabled by default in Linux?

You can't. In the Unix security model, there is no security boundary between a process and its parent process (assuming both run under the same userid). Even if you removed LD_PRELOAD, there would ...
D.W.'s user avatar
  • 99.8k

Only top scored, non community-wiki answers of a minimum length are eligible