Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stiletto/angrymlocker
Library for LD_PRELOAD and X.Org module for keeping corresponding process in memory
https://github.com/stiletto/angrymlocker
Last synced: 2 months ago
JSON representation
Library for LD_PRELOAD and X.Org module for keeping corresponding process in memory
- Host: GitHub
- URL: https://github.com/stiletto/angrymlocker
- Owner: stiletto
- License: other
- Created: 2011-11-01T12:22:06.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-01T15:56:46.000Z (about 13 years ago)
- Last Synced: 2024-08-03T17:10:21.290Z (6 months ago)
- Language: C
- Homepage:
- Size: 89.8 KB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-ld-preload - angrymlocker - library for keeping corresponding process in memory (Libraries)
README
# Description
These tools are made to keep X.org and important processes from being swapped out.
# How to install and use
## LD_PRELOAD library
1. make
2. LD_PRELOAD=/path/to/libangrymlocker.so /your/application
There are some environment variables, which may be useful:
* ANGRYMLOCKER_DEBUG=1 enables debug messages
* ANGRYMLOCKER_RESETENV=1 enables unset() of all angrymlocker-related environment variables (including LD_PRELOAD), so childs of this process will be started without angrymlocker.## X.Org module
Previous method can't be used to mlockall() Xorg process, so i made a X.Org module for this purpose.1. make
2. sudo make install
3. Add 'Load "angrymlocker"' to 'Module' section in your xorg.conf.
4. Restart X.