Wrap syscall for get/set/clean and e.t.c environment and map values to/from Redis
Just-for-fun but could be useful in some real cases.
#
Usage
export LD_PRELOAD=/path/to/libenvredis.so
python -c 'import os; os.environ["MY_SAMPLE_VAR"]="111"'
python -c 'import os; print os.environ["MY_SAMPLE_VAR"]'
- Статья на Хабр