Jump to content

Talk:Time-of-check to time-of-use

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RoySmith (talk | contribs) at 00:04, 1 January 2018 (TOCTOU vs. TOCTTOU: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputer security: Computing Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computer security, a collaborative effort to improve the coverage of computer security on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing (assessed as Low-importance).
Things you can help WikiProject Computer security with:
Article alerts are available, updated by AAlertBot. More information...
  • Review importance and quality of existing articles
  • Identify categories related to Computer Security
  • Tag related articles
  • Identify articles for creation (see also: Article requests)
  • Identify articles for improvement
  • Create the Project Navigation Box including lists of adopted articles, requested articles, reviewed articles, etc.
  • Find editors who have shown interest in this subject and ask them to take a look here.
WikiProject iconComputing: Software / Security Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Low-importance).
Taskforce icon
This article is supported by WikiProject Computer security (assessed as Low-importance).
Things you can help WikiProject Computer security with:
Article alerts are available, updated by AAlertBot. More information...
  • Review importance and quality of existing articles
  • Identify categories related to Computer Security
  • Tag related articles
  • Identify articles for creation (see also: Article requests)
  • Identify articles for improvement
  • Create the Project Navigation Box including lists of adopted articles, requested articles, reviewed articles, etc.
  • Find editors who have shown interest in this subject and ask them to take a look here.

I think this is most known as toctou not tocttou

compare with google

http://download.oracle.com/javase/tutorial/essential/io/check.html mentions it as TOCTTOU --173.25.223.151 (talk) 02:55, 29 January 2011 (UTC)[reply]

linux

someone should mention that you can prevent tocttou under linux via the following sysctl settings: fs.protected_hardlinks = 1 and fs.protected_symlinks = 1 79.230.118.243 (talk) —Preceding undated comment added 14:14, 18 June 2013 (UTC)[reply]

Other examples and solutions

File systems aren't the only place TOCTOU shows up. Here are some other familiar examples that might be worth working into the article.

TOCTOU vs. TOCTTOU

We list the TOCTTOU acronym first, and use it preferentially. I think that's backwards. I tried some searches:

Engine TOCTOU TOCTTOU
Google 68,700 24,500
Google Scholar 719 603
Bing 30,000 13,600
ACM Digital Library 0 8
IEEE Explore Digital Library 10 2
Github 8 3

There's a clear preference for TOCTOU in actual usage in both the general purpose and technical corpora. I can only assume that the ACM outlier is due to a house style preference, which the IEEE doesn't share. Surprisingly, kernel.org's bugzilla comes up with "Zarro Boogs" for either term. Unclear what to make of that.

I think we should go with the most common usage.