In a TOCTOU race condition, an attacker swaps or alters a resource after it has been verified but before the program ac…