replaced by .editorconfig # ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D287866
27 lines
725 B
C++
27 lines
725 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef mozilla_SandboxInternal_h
|
|
#define mozilla_SandboxInternal_h
|
|
|
|
#include <signal.h>
|
|
|
|
#include "mozilla/Types.h"
|
|
|
|
struct sock_fprog;
|
|
|
|
namespace mozilla {
|
|
|
|
// SandboxCrash() has to be in libxul to use internal interfaces, but
|
|
// its caller in libmozsandbox.
|
|
// See also bug 1101170.
|
|
|
|
typedef void (*SandboxCrashFunc)(int, siginfo_t*, void*, const void*);
|
|
extern MOZ_EXPORT SandboxCrashFunc gSandboxCrashFunc;
|
|
extern const sock_fprog* gSetSandboxFilter;
|
|
|
|
} // namespace mozilla
|
|
|
|
#endif // mozilla_SandboxInternal_h
|