Re: regression, bisected: openpty fails from 3.7 onwards withoutdevpts

From: Jiri Slaby
Date: Thu Jan 10 2013 - 15:13:30 EST


On 01/10/2013 06:23 PM, Jiri Slaby wrote:
> getptsname expects EINVAL on failure to fall back to /dev/ttyp*... The
> same as unlockpt. We should definitely revert now

Maybe not that strictly. It would be enough to revert TIOCGPTN and
TIOCSPTLCK to return EINVAL as suggested by Alan.
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/