[Bug 266036] valgrind reporting invalid read/write for setproctitle
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266036] valgrind reporting invalid read/write for setproctitle"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Aug 2022 20:02:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266036 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- Show the value of kern.ps_strings on your system. I suspect that it would be just the address that is reported: solo% printf "%x\n" $(sysctl -n kern.ps_strings) 7fffffffefe0 In other words, this is how setproctitle(3) works: by modifying ps_strings to point to other arguments strings. ps_strings is initialized by kernel during image activation. -- You are receiving this mail because: You are the assignee for the bug.