Well, clearly keeping those warning messages just means people keep
posting bugs like this. I'm not convinced including a bit more
explanation will change anything about that. Also, if it's the
relatively harmless operation of probing at the cache config or
potential NUMA config of a system, what good is it to display the
warning in the first place?

We'd want to keep the warnings in general because they can be very
useful if for example a video driver gets changed and suddenly tries to
access new files.

>I don't know whether that's simpler

There's no obvious way to do this, as the conclusion that it's an
encoder poking around the CPU/NUMA config is what I infer from seeing
the combination of all messages, but the sandbox has to make the
determination about the accesses one by one. Therefore, what you put as
the first line of output is what you can conclude after having seen all
output after it - there's a causality issue here. So it's not simpler,
it's orders of magnitude more complicated than adding a rule that says
```/sys/devices/system/cpu``` accesses are benign/harmless, don't warn
for them.

>isn't it possible to just not execute this video decoder?

This is only viable if you don't mind random videos on the internet not
working in Firefox. We don't ship patented codecs in Firefox because we
want to keep the application free, but a lot of videos on the internet
use patented codecs, so *something* needs to decode them. In Ubuntu,
they are contained in ```ubuntu-restricted-extras``` and Firefox will
defer decoding work to them if installed, but sandbox and isolate them
because we don't know what exact code is in there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1983010

Title:
  Sandbox: attempt to open unexpected file
  /sys/devices/system/cpu/cpu0/cache/index2/size

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1983010/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to