Tolerating and detecting asymmetric races
Abstract
Detecting and/or tolerating races. Races occur due to malicious threads not respecting software locks. A method of detecting and/or correcting races includes making local copie(s) and reference copie(s) of shared data. Any read and write operations performed by a safe thread are caused to be performed on the local copie(s) during a critical section. The critical section defines a time frame which a variable lock is placed on shared data. Any read and write operations performed by malicious threads are allowed to be performed on the shared data during the critical section. The shared data, the local copie(s), and the reference copie(s) are compared to determine that a race has been detected. An indication can be output that a race has occurred or the race can be corrected.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computing environment supporting multi thread operations, where different threads can perform read and write operations on shared data, the environment including safe threads that are properly configured to use variable locks on shared variables, a method of detecting and/or tolerating races occurring due to malicious threads not respecting the locks, the method comprising; (a) making at least one local copy of the shared data that is used exclusively by a safe thread when performing read and write operations during a critical section and wherein the safe thread refrains from writing to t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (4)
- Ashis Tarafdar and Vijay K. Garg, "Software Fault Tolerance of Concurrent Programs Using Controlled Re-execution", Lecture Notes in Computer Science; vol. 1693, Proceedings of the 13th International Symposium on Distributed Computing, 1999, pp. 210-224.
- Eugene Tsyrklevich and Bennet Yee, "Dynamic Detection and Prevention of Race Conditions in File Accesses", Department of Computer Science and Engineering, University of California, San Diego, 12th USENIX Security Symposium, Aug. 2003, pp. 243-255.
- Nels E. Beckman, "A Survey of Methods for Preventing Race Conditions", May 10, 2006, pp. 1-20.
- Yuan Yu, Tom Rodeheffer, and Wei Chen, "RaceTrack: Efficient Detection of Data Race Conditions via Adaptive Tracking", SOSP '05, Oct. 2005.