Re:OpenBSD may soon gain further memory protections: immutab...
by 7vUYjPAG2fnx7fd on Friday September 02, 2022 @03:38PM
(#32694924)
No setproctitle on Linux. As far as I know you have to overwrite the argv space (and hopefully not also the environment space).
[ Parent
| on HN ]
Re:OpenBSD may soon gain further memory protections: immutab...
by eqvinox on Saturday September 03, 2022 @05:40AM
(#32700242)
Looking 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.