1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

Kernel: Disable lock rank enforcement by default for now

There are a few violations with signal handling that I won't be able to
fix it until later this week. So lets put lock rank enforcement under a
debug option for now so other folks don't hit these crashes until rank
enforcement is more fleshed out.
This commit is contained in:
Brian Gianforcaro 2021-09-14 11:05:17 -07:00 committed by Brian Gianforcaro
parent 44cc6e1662
commit fbb31b4519
3 changed files with 15 additions and 6 deletions

View file

@ -170,6 +170,10 @@
#cmakedefine01 LOCK_IN_CRITICAL_DEBUG
#endif
#ifndef LOCK_RANK_ENFORCEMENT
#cmakedefine01 LOCK_RANK_ENFORCEMENT
#endif
#ifndef LOCK_RESTORE_DEBUG
#cmakedefine01 LOCK_RESTORE_DEBUG
#endif