Re: [FFmpeg-devel] [PATCH] kmsgrab: Drop DRM master if running as root

2020-04-14 Thread Anton Khirnov
Quoting Mark Thompson (2020-04-12 16:46:25) > If we have both root and DRM master then drop the latter because we > don't need both and holding onto it can interfere with running other > programs. > > From a discussion with deltasquared on IRC. > --- > It would be marginally better to check whethe

[FFmpeg-devel] [PATCH] kmsgrab: Drop DRM master if running as root

2020-04-12 Thread Mark Thompson
If we have both root and DRM master then drop the latter because we don't need both and holding onto it can interfere with running other programs. From a discussion with deltasquared on IRC. --- It would be marginally better to check whether we have CAP_SYS_ADMIN rather than just whether we are e