Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[config] Fix race in security resource modification when draft mode e…
…nabled In security draft mode to avoid issues, a scope lock is created when an action is ongoing. It avoids any other action to be performed and also forbidden any security resource modifications. The check on resource modification was buggy as it required the lock to check if it was already acquired. That produces race when concurrency security resources modifications occur. Change-Id: I980456c22551ca6e7f5dd645140f4f54fb354c0a Closes-Bug: #1767425
- Loading branch information
Édouard Thuleau
committed
Apr 27, 2018
1 parent
11b7e5e
commit d601451
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters