aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-11-15 17:49:13 +0200
committerVille Syrjälä <[email protected]>2018-01-29 21:27:25 +0200
commitc6ed6dad5cfb76d72d8f9accba9b9f8d572c518c (patch)
tree1102063decb16bda5076c8e8b664b4258344a796 /tools/perf/scripts/python/event_analyzing_sample.py
parent064a3e6e8e4b01e7bcbf4de6564ab52530e86d92 (diff)
drm/uapi: Validate the mode flags/type
Currently userspace is allowed to feed in any king of garbage in the high bits of the mode flags/type, as are drivers when probing modes. Reject any mode with bogus flags/type. Hopefully this won't break any current userspace... v2: Split the type and flags checks to separates ifs (Chris) Cc: Chris Wilson <[email protected]> Cc: Jose Abreu <[email protected]> Cc: Adam Jackson <[email protected]> Cc: Keith Packard <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions