Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: user(8) group line limit
To:
David Leadbeater <dgl@dgl.cx>
Cc:
tech@openbsd.org
Date:
Thu, 12 Mar 2026 20:00:19 -0600

Download raw body.

Thread
On Thu, 12 Mar 2026 13:52:37 +1100, David Leadbeater wrote:

> The thought crossed my mind, mainly I did it because it matches the
> pattern in adduser/moduser, they use buf[LINE_MAX] and then actually
> limit to 1023. Although they are dealing with '&' expansion so the code
> is slightly different, but same pattern. I don't know why they are doing
> that though.

OK, that makes sense.

 - todd