Skip to content
Commit 7f52a0eb authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov
Browse files

xf86drm: drmGetDevice2: error out if the fd has unknown subsys



Currently one can open() any /dev node. If it's unknown
drmParseSubsystemType() will return an error.

Track that and bail as needed.

Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Tested-by: default avatarRobert Foss <robert.foss@collabora.com>
Reviewed-by: default avatarRobert Foss <robert.foss@collabora.com>
Reviewed-by: default avatarEric Engestrom <eric@engestrom.ch>
parent 4fa33e45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment