zsh-workers
 help / color / mirror / code / Atom feed
* cannot hide command name from ps -e
@ 2014-10-13  8:29 Han Pingtian
  2014-10-13 17:27 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Han Pingtian @ 2014-10-13  8:29 UTC (permalink / raw)
  To: zsh-workers

Hi,

"jobs -Z somestring" does hide command name when being checked by "ps
aux", but it doesn't when being checked by "ps -e". And looks like if
want to deceive "ps -e", we can use prctl() on linux.

I tested this on Fedora 20 with 3.16 kernel. "jobs -Z somestring" will
change /proc/$$/cmdline, and prctl() will change /proc/$$/comm.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-14  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13  8:29 cannot hide command name from ps -e Han Pingtian
2014-10-13 17:27 ` Bart Schaefer
2014-10-14  6:27   ` Han Pingtian
2014-10-14  7:50     ` [PATCH] " Han Pingtian

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).