diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2019-01-08 22:55:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-18 13:47:55 +0100 |
commit | 1bf931ab94a963851aa1dfba5d9f03f9f1ad8637 (patch) | |
tree | adb2ec439b9266b37ba687da41094438ab19d348 /drivers/ssb/bridge_pcmcia_80211.c | |
parent | 8a085494317cab6fef25b34521dae03c83f31eaa (diff) |
vcs: poll(): cope with a deallocated vt
When VT_DISALLOCATE is used on a vt, user space waiting with poll() on
the corresponding /dev/vcs device is not awakened. This is now fixed by
returning POLLHUP|POLLERR to user space.
Also, in the normal screen update case, we don't set POLLERR anymore as
POLLPRI alone is a much more logical response in a non-error situation,
saving some confusion on the user space side. The only known user app
making use of poll() on /dev/vcs* is BRLTTY which is known to cope with
that change already, so the risk of breakage is pretty much nonexistent.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb/bridge_pcmcia_80211.c')
0 files changed, 0 insertions, 0 deletions