aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2019-01-08 22:55:03 -0500
committerGreg Kroah-Hartman <[email protected]>2019-01-18 13:47:55 +0100
commit1bf931ab94a963851aa1dfba5d9f03f9f1ad8637 (patch)
treeadb2ec439b9266b37ba687da41094438ab19d348 /tools/perf/util/c++/clang.cpp
parent8a085494317cab6fef25b34521dae03c83f31eaa (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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions