Messages in this thread | | | Date | Tue, 3 Jan 2012 00:43:25 +0000 | From | Alan Cox <> | Subject | Re: [PATCH 2/2] tty: rework pty count limiting |
| |
> > That's a userspace api change, why is this going to be allowed? > > open() can return -ENOSPC in case normal fs, > meanwhile error codes for /dev/ptmx wasn't documented at all: > there is nothing in manpage pts, pty and ptmx. > manpage posix_openpt and getpt refers to manpage open(2). > I can return EIO back, if this is critical.
I prefer the -ENOSPC change - its perfectly within POSIX and while its vaguely an ABI change I don't believe its one that a single piece of software actually cares about. So nothing will break (famous last words).
Lets try it and see.
Alan
| |