Skip to content

Hacky LD_PRELOAD library that allows setting the process title via putenv()

License

Notifications You must be signed in to change notification settings

yonyoucloud/setproctitle-preload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setproctitle-preload

Hacky LD_PRELOAD library that allows setting the process title via putenv()

Compile with

make

And run like

LD_PRELOAD=$PWD/preload_setproctitle.so python -c "import os,signal; os.putenv('SETPROCTITLE','this is a test'); signal.pause()" &
ps -elf | grep 'this is a test'

About

Hacky LD_PRELOAD library that allows setting the process title via putenv()

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.1%
  • Makefile 3.9%