Bug 1865597 - Add error checking when initializing parallel marking and disable on...
[gecko.git] / mozglue / misc / WindowsProcessMitigations.h
blob95d27d2c3f640d87f0b2d8248395ac18e1a3dd42
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_WindowsProcessMitigations_h
8 #define mozilla_WindowsProcessMitigations_h
10 #include "mozilla/Types.h"
12 namespace mozilla {
14 MFBT_API bool IsWin32kLockedDown();
15 MFBT_API void SetWin32kLockedDownInPolicy();
16 MFBT_API bool IsDynamicCodeDisabled();
17 MFBT_API bool IsEafPlusEnabled();
18 MFBT_API bool IsUserShadowStackEnabled();
20 } // namespace mozilla
22 #endif // mozilla_WindowsProcessMitigations_h