News for hackers. Stuff that matters.
Re:OpenBSD may soon gain further memory protections: immutab... by leni536 on Friday September 02, 2022 @05:29PM (#32695911)
> a) I bet some insane userland processes fuck with their stacks

What do you mean by "insane" here? In standard C you get char** argv, and the arguments live on the stack. I believe you are allowed to modify those cli arguments through the pointers, it is not undefined behavior.

Re:OpenBSD may soon gain further memory protections: immutab... by staticassertion on Monday September 05, 2022 @03:37PM (#32728404)
I never called it undefined behavior. But you shouldn't modify that stack space directly, you should either use setenv via libc or you should use prctl.