Advice on fixing unwanted master inheritance:

2015-11-30 Thread Dave Airlie
On 30 November 2015 at 03:44, Thomas Hellstrom wrote: > Hi, all! > > There's an odd master inheritance going on in drm. Consider the > following scenario. > > 1) Xorg opens DRM. Becomes master. > 2) Plymouthd opens a file descriptor to drm. > 3) Xorg exits. > 4) Plymouthd calls drmSetMaster(). At

Advice on fixing unwanted master inheritance:

2015-11-29 Thread Thomas Hellstrom
Hi, all! There's an odd master inheritance going on in drm. Consider the following scenario. 1) Xorg opens DRM. Becomes master. 2) Plymouthd opens a file descriptor to drm. 3) Xorg exits. 4) Plymouthd calls drmSetMaster(). At this point it actually inherits Xorg's master structure and all authent