Re: [PATCH libdrm] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Michel Dänzer
On 2018-08-23 2:52 p.m., Emil Velikov wrote: > On Thu, 23 Aug 2018 at 11:38, Michel Dänzer wrote: >> On 2018-08-23 12:04 p.m., Emil Velikov wrote: >>> From: Emil Velikov >>> >>> Earlier commit reworked our sysfs handling to use realpath. >>> Sadly that backfired since the Firefox sandboxing

Re: [PATCH libdrm] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Emil Velikov
On Thu, 23 Aug 2018 at 11:38, Michel Dänzer wrote: > > On 2018-08-23 12:04 p.m., Emil Velikov wrote: > > From: Emil Velikov > > > > Earlier commit reworked our sysfs handling to use realpath. > > Sadly that backfired since the Firefox sandboxing mechanism rejects > > that. Despite the

Re: [PATCH libdrm] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Michel Dänzer
On 2018-08-23 12:04 p.m., Emil Velikov wrote: > From: Emil Velikov > > Earlier commit reworked our sysfs handling to use realpath. > Sadly that backfired since the Firefox sandboxing mechanism rejects > that. Despite the files/folders being in the allowed list, of the > sandboxing mechanism.

[PATCH libdrm] xf86drm: fallback to normal path when realpath fails

2018-08-23 Thread Emil Velikov
From: Emil Velikov Earlier commit reworked our sysfs handling to use realpath. Sadly that backfired since the Firefox sandboxing mechanism rejects that. Despite the files/folders being in the allowed list, of the sandboxing mechanism. Oddly enough, the Chromium sandboxing doesn't complain about