ELSEIF
Your brief EB
183 stories from 71 feeds 32 clusters Refreshed 8 minutes ago next pull 13:20

INFRA Signal 170

[$] Reconsidering O_CREAT|O_DIRECTORY

WHY IT MATTERS

Currently, creating a directory with mkdir() and opening it with open() are separate operations, which introduces race conditions. A combined operation would allow engineers to handle directory creation atomically, avoiding concurrency issues.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Linux currently lacks a system call that can create and open a directory simultaneously.

02

Performing these actions separately creates a race condition.

03

Jori Koolstra is working on a solution to combine these operations.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
LWN.net [$] Reconsidering O_CREAT|O_DIRECTORY Open ↗