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

From: Paul Eggert <[email-masked]>
Date: Mon, 14 Aug 2017 16:50:07 -0700

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.