public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Solving OpenCL /dev/dri/card* sandbox issues w/ ImageMagick
  @ 2014-04-02 14:33 99%   ` Samuli Suominen
  0 siblings, 0 replies; 1+ results
From: Samuli Suominen @ 2014-04-02 14:33 UTC (permalink / raw
  To: gentoo-dev


On 02/04/14 16:01, Mike Frysinger wrote:
> On Wed 02 Apr 2014 13:01:25 Samuli Suominen wrote:
>> Problem 1:
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=472766#c21
>>
>> I'm not sure if wildcards are supported by /etc/sandbox.d/ files
> they are not.  however, path matching is based on prefixes, so there's always 
> an implicit glob at the end.  would be reasonable to change the code to use 
> fnmatch.
>
> e.g. SANDBOX_PREDICT=/dev/dri/card probably works

I hope SANDBOX_PREDICT="/dev/dri/card" with "" is OK too?

>
> however, i think we're relying on sandbox preventing bad code from doing bad 
> things.  there really should be a way for the build to disable the logic in 
> the first place from kicking in.
> -mike

You are right
I believe this started after a major mesa version bump, so I'd start
looking for the culprit
in Mesa's OpenCL code, but I have no idea howto go futher with the
debugging... yet

Meanwhile, =media-gfx/imagemagick-6.8.8.10[opencl] now installs the
sandbox.d file,
workaround is better here than nothing since this is affecting multiple
binaries,
packages :/

- Samuli


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-04-02 10:01     [gentoo-dev] Solving OpenCL /dev/dri/card* sandbox issues w/ ImageMagick Samuli Suominen
2014-04-02 13:01     ` Mike Frysinger
2014-04-02 14:33 99%   ` Samuli Suominen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox