lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACVxJT8mzO=8BPJty=uAsj=eZrk8BDozUz7eGMoLVhx7jPgVXg@mail.gmail.com>
Date:	Wed, 25 Mar 2015 14:29:47 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH] proc: fix PAGE_SIZE limit of /proc/$PID/cmdline

On Wed, Mar 25, 2015 at 12:42 AM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> On Fri, 20 Mar 2015 20:51:47 +0300 Alexey Dobriyan <adobriyan@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ