aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNicolas Pitre <[email protected]>2019-01-08 22:55:02 -0500
committerGreg Kroah-Hartman <[email protected]>2019-01-18 13:47:55 +0100
commit8a085494317cab6fef25b34521dae03c83f31eaa (patch)
treee5ac4e1818f905d58b7becd161ccdcf6ebbd4e37 /tools/perf/scripts/python/sched-migration.py
parenta5db482640c7b926357cf984701caafa8e0f8843 (diff)
vcsa: clamp header values when they don't fit
The /dev/vcsa* devices have a fixed char-sized header that stores the screen geometry and cursor location. Let's make sure it doesn't contain random garbage when those values exceed 255. If ever it becomes necessary to convey larger screen info to user space then a larger header in the not-yet-implemented /dev/vcsua* devices should be considered. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions