Changeset 263966 in webkit
- Timestamp:
- Jul 6, 2020 5:13:08 AM (4 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r263964 r263966 1 2020-07-06 Haelwenn (lanodan) Monnier <contact@hacktivis.me> 2 3 BubblewrapLauncher.cpp: Add paths required for sndio 4 https://bugs.webkit.org/show_bug.cgi?id=212524 5 6 Information about the paths currently ins't into the sndio 7 documentation but it can be found in this email: 8 http://www.sndio.org/arch/0077.html 9 10 Reviewed by Adrian Perez de Castro. 11 12 Manually tested, there is currently no automatic tests for it 13 14 * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: 15 (WebKit::bindSndio): 16 (WebKit::bubblewrapSpawn): 17 1 18 2020-07-06 Carlos Garcia Campos <cgarcia@igalia.com> 2 19 -
trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
r263899 r263966 380 380 // This is the ultimate fallback to raw ALSA 381 381 bindIfExists(args, "/dev/snd", BindFlags::Device); 382 } 383 384 static void bindSndio(Vector<CString>& args) 385 { 386 bindIfExists(args, "/tmp/sndio", BindFlags::ReadWrite); 387 388 GUniquePtr<char> sndioUidDir(g_strdup_printf("/tmp/sndio-%d", getuid())); 389 bindIfExists(args, sndioUidDir.get(), BindFlags::ReadWrite); 390 391 const char* homeDir = g_get_home_dir(); 392 GUniquePtr<char> sndioHomeDir(g_build_filename(homeDir, ".sndio", nullptr)); 393 bindIfExists(args, sndioHomeDir.get(), BindFlags::ReadWrite); 382 394 } 383 395 … … 807 819 // FIXME: We should move to Pipewire as soon as viable, Pulse doesn't restrict clients atm. 808 820 bindPulse(sandboxArgs); 821 bindSndio(sandboxArgs); 809 822 bindFonts(sandboxArgs); 810 823 bindGStreamerData(sandboxArgs);
Note: See TracChangeset
for help on using the changeset viewer.