|
|
Log in / Subscribe / Register

secret transaction system?

secret transaction system?

Posted Apr 1, 2023 5:08 UTC (Sat) by moxfyre (guest, #13847)
In reply to: The curious case of O_DIRECTORY|O_CREAT by atnot
Parent article: The curious case of O_DIRECTORY|O_CREAT

> The only way you can guarantee that is to move the check into the kernel, where it can use the secret transaction system built into the filesystem to provide atomicity for your open call.

The Linux kernel contains a "secret transaction system" for filesystem operations…? By "secret", do you just mean that there's no API exposed to userspace to manage such transactions?


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds