zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers <zsh-workers@zsh.org>
Subject: Re: cannot hide command name from ps -e
Date: Mon, 13 Oct 2014 10:27:31 -0700	[thread overview]
Message-ID: <141013102731.ZM6555@torch.brasslantern.com> (raw)
In-Reply-To: <20141013082953.GA3486@localhost.localdomain>

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.


  reply	other threads:[~2014-10-13 17:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13  8:29 Han Pingtian
2014-10-13 17:27 ` Bart Schaefer [this message]
2014-10-14  6:27   ` Han Pingtian
2014-10-14  7:50     ` [PATCH] " Han Pingtian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=141013102731.ZM6555@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).