зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1309098 - Add ALSA devices to filesystem policy whitelist. r=glandium
MozReview-Commit-ID: F2GmQEj9XEN --HG-- extra : rebase_source : 8444d905acd3bf62668c30f04cbfd9669de96d0b
This commit is contained in:
Родитель
5d5f326c05
Коммит
c028a5f875
|
@ -140,9 +140,14 @@ SandboxBrokerPolicyFactory::SandboxBrokerPolicyFactory()
|
|||
// Bug 1308851: NVIDIA proprietary driver when using WebGL
|
||||
policy->AddPrefix(rdwr, "/dev", "nvidia");
|
||||
|
||||
// Bug 1312678: radeonsi/Intel with DRI when using WebGL
|
||||
// Bug 1312678: radeonsi/Intel with DRI when using WebGL
|
||||
policy->AddDir(rdwr, "/dev/dri");
|
||||
|
||||
#ifdef MOZ_ALSA
|
||||
// Bug 1309098: ALSA support
|
||||
policy->AddDir(rdwr, "/dev/snd");
|
||||
#endif
|
||||
|
||||
mCommonContentPolicy.reset(policy);
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -20,6 +20,9 @@ if CONFIG['OS_TARGET'] == 'Android':
|
|||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
||||
DEFINES['HAVE_ANDROID_OS'] = True
|
||||
|
||||
if CONFIG['MOZ_ALSA']:
|
||||
DEFINES['MOZ_ALSA'] = True
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'/security/sandbox/linux', # SandboxLogging.h, SandboxInfo.h
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче