[AudioService] Initialize localtime functions when unsandboxed
crrev.com/790723 changed the unsandboxed audio process to use the kNoSandbox sandbox type instead of the kAudio sandbox type with sandboxing disabled. While this behavior was correct, it causes crashes in some MSAN builds due to lack of initialization of localtime functions, which occurred when using the kAudio sandbox type. This CL ensures that the audio process in Linux initializes localtime functions when running unsandboxed. Bug: 1109346 Change-Id: I97c1b7cc01906cb544305e47de8c59bf73a7c899 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341134Reviewed-by:Robert Sesek <rsesek@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#796117}
Showing
Please register or sign in to comment