Urgent.News

What's breaking now, across thousands of outlets.

Tech

[$] Reconsidering O_CREAT|O_DIRECTORY

Linux provides a system call ( mkdir() ) to create a directory, and a few variants of open() that can open a directory. There is, however, no system call in Linux that can create and open a directory in a single, race-free call. Jori Koolstra has been working on remedying that situation, most recently by repurposing a set of open() flags that currently return an error. There are, however,…

We haven't written up this one. LWN has the full story — the link below goes straight to it.

Read the original at lwn.net →

More in Tech

More from Thursday 30 July →