audio_sandbox_hook_linux.h 614 B

123456789101112131415161718
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef SERVICES_AUDIO_AUDIO_SANDBOX_HOOK_LINUX_H_
  5. #define SERVICES_AUDIO_AUDIO_SANDBOX_HOOK_LINUX_H_
  6. #include "sandbox/policy/linux/sandbox_linux.h"
  7. namespace audio {
  8. // Load audio shared libraries and setup allowed commands and filesystem
  9. // permissions for audio service sandboxed process.
  10. bool AudioPreSandboxHook(sandbox::policy::SandboxLinux::Options options);
  11. } // namespace audio
  12. #endif // SERVICES_AUDIO_AUDIO_SANDBOX_HOOK_LINUX_H_