Subject: bug#28082: bash: /bin/rm: Argument list too long

From: "Dmitry V. Levin" <[email-masked]>
Date: Tue, 15 Aug 2017 12:45:49 +0300

On Tue, Aug 15, 2017 at 08:19:13AM +0100, Jonny Grant wrote:
> On 15/08/17 00:50, Paul Eggert wrote:
> > Jonny Grant wrote:
> >> do you know which kernel API has this limitation?
> > 
> > All kernels have a limitation there to some extent, except perhaps the 
> > Hurd. Sorry, I don't know what the limits are.
> 
> Ok thank you.
> 
> I imagine kernels just need a dynamic API, so it doesn't need to be a 
> fixed buffer.

It's a security limit rather than a fixed buffer, see e.g.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=da029c11e6b12f321f36dac8771e833b65cec962

-- 
ldv