race conditions are deeply grounded in the concept of time
The only reason for time is so that everything doesn’t happen at once.
时间存在的唯一理由,就是避免所有事情都挤在一起发生。
Bottom line: Bottlenecks in computing architecture cause concurent events to be at least partially serialized.
our computing substrate,
execution order can will only be guaranteed within a single process
执行顺序
当一个软件的运行结果依赖于进程或者线程的顺序时,就可能会出现条件竞争。由于在并发时,执行流的不确定性很大,条件竞争相对难察觉,并且在复现和调试方面会比较困难。这给修复条件竞争也带来了不小的困难。条件竞争造成的影响也是多样的,轻则程序异常执行,重则程序崩溃。如果条件竞争漏洞被攻击者利用的话,很有可能会使得攻击者获得相应系统的特权。
评论(0)
暂无评论