Thread (36 messages) 36 messages, 5 authors, 2025-08-09

Re: [PATCH v2 02/11] mount_setattr.2: move mount_attr struct to mount_attr.2type

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-07 13:33:39
Also in: linux-fsdevel, linux-man, lkml

Hi Aleksa,

On Thu, Aug 07, 2025 at 10:38:36PM +1000, Aleksa Sarai wrote:
On 2025-08-07, Alejandro Colomar [off-list ref] wrote:
quoted
quoted
+.SH VERSIONS
+Extra fields may be appended to the structure,
+with a zero value in a new field resulting in
+the kernel behaving as though that extension field was not present.
+Therefore, a user
+.I must
+zero-fill this structure on initialization.
I think this would be more appropriate for HISTORY.  In VERSIONS, we
usually document differences with the BSDs or other systems.

While moving this to HISTORY, it would also be useful to mention the
glibc version that added the structure.  In the future, we'd document
the versions of glibc and Linux that have added members.
Sure, though I just copied this section from open_how(2type).
Thanks!  I should fix that.


Cheers,
Alex
quoted
quoted
+.SH STANDARDS
+Linux.
+.SH SEE ALSO
+.BR mount_setattr (2)
Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>


-- 
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/


-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help