Hi
I would like to add a new flag to an elf file. This flag should then be available to the kernel in the process descriptor. My first idea was to use libelf, but unfortunately there seems to be a bug with it on Ubuntu. Elfedit would have probably been a nice tool but I have not found a version for Linux, in particular Ubuntu.
So, I am wondering if anyone can suggest to me if there is any other useful tool out there to add a custom flag to an elf file?
Many thanks for your help!