Change proc/<pid>/cmdline to 8k
Greg KH
gregkh at linuxfoundation.org
Thu Jun 4 18:38:08 EDT 2015
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.
More information about the Kernelnewbies
mailing list