Re: [PATCH] n_tty: Fix 4096-byte canonical reads

2013-11-23 Thread One Thousand Gnomes
On Fri, 22 Nov 2013 07:16:25 -0500 Peter Hurley wrote: > Although the maximum allowable canonical line is specified to > be 255 bytes (MAX_CANON), the practical limit has actually been > the size of the line discipline read buffer (N_TTY_BUF_SIZE == 4096). Looks good. MAX_CANON in SVID and POSIX

[PATCH] n_tty: Fix 4096-byte canonical reads

2013-11-22 Thread Peter Hurley
Although the maximum allowable canonical line is specified to be 255 bytes (MAX_CANON), the practical limit has actually been the size of the line discipline read buffer (N_TTY_BUF_SIZE == 4096). Commit 32f13521ca68bc624ff6effc77f308a52b038bf0, n_tty: Line copy to user buffer in canonical mode, li