🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.kern
Article #3

Re: compat_linux: open: Supporting O_NOATIME

#3
From: Michael van Elst
Date: Sat, 17 Oct 2026 06:35
23 lines
1930 bytes
aiman.najjar@hurranet.com (Aiman Najjar) writes:

>My question: what is the correct way to address this, do we: 1) add 
>native support for `O_NOATIME`


Access times are a feature of the underlying filesystem. There is no way
to handle that in a syscall or syscall emulation layer alone, if the
filesystem doesn't implement such a feature.

Even in Linux, O_NOATIME is optional and behaviour depends on the
specific filesystem. So a valid implementation could just ignore the
flag (which could be done in the compat layer, if it isn't already).


N.B. I also doubt that such a stealth access feature should be available
to a regular account. It needs at least a mount option (similar to noatime)
that enables the behaviour.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <11av4vs$894$1@serpens.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <64843d8a-4319-48b0-b7f8-82927b43d402@hurranet.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: mlelstv@serpens.de (Michael van Elst)
Newsgroups: muc.lists.netbsd.tech.kern
Subject: Re: compat_linux: open: Supporting O_NOATIME
Date: Sat, 17 Oct 2026 06:35:41 -0000 (UTC)
Organization: Serpens User Group
Sender: tech-kern-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <11av4vs$894$1@serpens.de>
References: <64843d8a-4319-48b0-b7f8-82927b43d402@hurranet.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="1494"; mail-complaints-to="news-admin@muc.de"
User-Agent: nn/6.7.3
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes