Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: cannot hide command name from ps -e



On Oct 13,  4:29pm, Han Pingtian wrote:
}
} "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.

There's your previous potential patch here:

http://www.zsh.org/mla/workers//2012/msg00708.html

It may not apply cleanly any longer.

The discussion following that patch seemed to indicate that prctl() also
did not hide the command line in all cases.

Maybe the right thing is to use all possible such mechanisms at the same
time, rather than attempt to choose just one at configure time.



Messages sorted by: Reverse Date, Date, Thread, Author