Messages in this thread | | | Date | Wed, 25 Mar 2015 14:29:47 +0300 | Subject | Re: [PATCH] proc: fix PAGE_SIZE limit of /proc/$PID/cmdline | From | Alexey Dobriyan <> |
| |
On Wed, Mar 25, 2015 at 12:42 AM, Andrew Morton <akpm@linux-foundation.org> wrote: > On Fri, 20 Mar 2015 20:51:47 +0300 Alexey Dobriyan <adobriyan@gmail.com> wrote: >> /proc/$PID/cmdline truncates output at PAGE_SIZE. It is easy to see with
> I'm desperately trying to think of a reason to not merge this patch :( > > I haven't seen anyone complain about the PAGE_SIZE limit - can't we > pretend we didn't notice? Or tell 'em to switch to powerpc so they > get 64k!
Well, people do notice the limitation http://stackoverflow.com/questions/199130/how-do-i-increase-the-proc-pid-cmdline-4096-byte-limit
I think public interface should work 100% of the time.
setproctitle(2) can be added with documented 4KB limit.
Alexey
| |