lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6c9d7f9b-36ea-4222-8c10-843f726b6e62@app.fastmail.com>
Date: Mon, 26 Jan 2026 16:55:24 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Dorjoy Chowdhury" <dorjoychy111@...il.com>, linux-fsdevel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, "Alexander Viro" <viro@...iv.linux.org.uk>,
 "Christian Brauner" <brauner@...nel.org>, "Jan Kara" <jack@...e.cz>,
 "Jeff Layton" <jlayton@...nel.org>, "Chuck Lever" <chuck.lever@...cle.com>,
 "Alexander Aring" <alex.aring@...il.com>
Subject: Re: [PATCH v2 1/2] open: new O_REGULAR flag support

On Mon, Jan 26, 2026, at 16:39, Dorjoy Chowdhury wrote:

> diff --git a/arch/parisc/include/uapi/asm/fcntl.h 
> b/arch/parisc/include/uapi/asm/fcntl.h
> index 03dee816cb13..efd763335ff7 100644
> --- a/arch/parisc/include/uapi/asm/fcntl.h
> +++ b/arch/parisc/include/uapi/asm/fcntl.h
> @@ -19,6 +19,7 @@
> 
>  #define O_PATH		020000000
>  #define __O_TMPFILE	040000000
> +#define O_REGULAR	060000000

This is two bits, not one, and it overlaps with O_PATH|__O_TMPFILE.

The other ones look like they are fine in this regard, but I'm
still unsure if we should be using the next available bit, or
reusing an unused lower bit, e.g. these bits removed in commit
41f5a81c07cd ("parisc: Drop HP-UX specific fcntl and signal flags"):

-#define O_BLKSEEK      000000100 /* HPUX only */
-#define O_RSYNC                002000000 /* HPUX only */
-#define O_INVISIBLE    004000000 /* invisible I/O, for DMAPI/XDSM */

     Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ