From: gregkh@linuxfoundation.org (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Change proc/<pid>/cmdline to 8k
Date: Fri, 5 Jun 2015 07:38:08 +0900 [thread overview]
Message-ID: <20150604223807.GA17596@kroah.com> (raw)
In-Reply-To: <95110.1433456291@turing-police.cc.vt.edu>
On Thu, Jun 04, 2015 at 06:18:11PM -0400, Valdis.Kletnieks at vt.edu wrote:
> On Fri, 05 Jun 2015 07:07:30 +0900, Greg KH said:
>
> > Applications shouldn't be messing around with the kernel command line.
>
> He's looking at /proc/<PID>/cmdline, which is a different beast.
Ah, doh, you are right, nevermind...
> Presumably, he's looking at 'ps axwwwwwwwwwww' and still not seeing the
> full process commandline, and that irritates him for some reason...
Yeah, that's not a good thing to rely on to even be correct, as it is
easy for an application to change that value.
next prev parent reply other threads:[~2015-06-04 22:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 4:22 Change proc/<pid>/cmdline to 8k Navin P
2015-06-04 5:17 ` Greg KH
2015-06-04 7:41 ` Navin P
2015-06-04 8:04 ` Greg KH
2015-06-04 15:36 ` Navin P
2015-06-04 22:07 ` Greg KH
2015-06-04 22:18 ` Valdis.Kletnieks at vt.edu
2015-06-04 22:38 ` Greg KH [this message]
2015-06-04 22:19 ` Valdis.Kletnieks at vt.edu
2015-06-05 3:21 ` Navin P
2015-06-16 10:34 ` Navin P
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=20150604223807.GA17596@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.