From: phil-linux-kernel@ipal.net (Phil Howard)
To: linux-kernel@vger.kernel.org
Subject: Re: "ps ax" shows init [
Date: Wed, 7 Nov 2001 16:09:12 -0600 (CST) [thread overview]
Message-ID: <20011107220912.48029240@vega.ipal.net> (raw)
In-Reply-To: <9sbmcs$t4t$1@ncc1701.cistron.net> from "Miquel van Smoorenburg" at Nov 07, 2001 04:10:04 PM
Miquel van Smoorenburg wrote:
> In article <Pine.LNX.4.10.10111071747430.31120-100000@ares.sot.com>,
> Yaroslav Popovitch <yp@sot.com> wrote:
> >doing "ps ax" get such msg for kernel-2.4.9:
> >That is the same for kernel-2.4.12.Sometimes it is shown as it should be.
> >Is this a bug of kernel? It seems to be..
> >
> > PID TTY STAT TIME COMMAND
> > 1 ? S 0:06 init [
>
> It's because init doesn't have enough space in argv[] to change it's
> process title. There are a number of causes for this, one indirect
> one is pressing 'enter' at the 'LILO boot: ' prompt.
Perhaps a way around this frequent problem is to make execve() always
reserve a certain minimum amount of space in argv[] even if it is not
filled in with anything. Then instead a "brick wall" being set at
the end of the space originally used, it can be set at max(space used,
minimum reserved). This is still userland space, right? What would
be a reasonable figure for minimum reserved? Or does ld-linux go
grabbing space right after the end of argv[]?
--
-----------------------------------------------------------------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://phil.ipal.org/ |
-----------------------------------------------------------------
prev parent reply other threads:[~2001-11-07 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-07 16:01 Yaroslav Popovitch
2001-11-07 16:10 ` Miquel van Smoorenburg
2001-11-07 22:09 ` Phil Howard [this message]
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=20011107220912.48029240@vega.ipal.net \
--to=phil-linux-kernel@ipal.net \
--cc=linux-kernel@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®