2 ms·
No setproctitle on Linux. As far as I know you have to overwrite the argv space (and hopefully not also the environment space).
by 7vUYjPAG2fnx7fd 4y ago
No setproctitle on Linux. As far as I know you have to overwrite the argv space (and hopefully not also the environment space).
- eqvinox 4y agoLooking at the sibling post to yours, I'm assuming the "better" approach these days is to allocate a new buffer distinct from argv space and use PR_SET_MM_ARG_{START,END} to point the kernel there.