an amazing directory: /procpic.twitter.com/717UPpvami
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
whoa that's amazing I did not know that! Thank you!
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/proc/base.c#n208 … is the implementation. access_remote_vm() is for accessing the virtual memory of another process. you can see that the kernel actually has dedicated code for dealing with cases where userspace writes a new cmdline string that overflows into the env area
I would love to see an example of how to do it. Would you have any pointer @tehjh ? Thanks.
e.g. https://sources.debian.org/src/util-linux/2.29.2-1/lib/setproctitle.c/ … has some code, and libbsd has functions setproctitle_init() and setproctitle()
Do you know any programs that do so for reasons other than hiding passwords passed in via args, and/or what those reasons might be?
for example, the OpenSSH server uses it to label processes so that you know which process is doing roughly what when you're looking at "ps aux" output
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.