Hi Dorjoy, On 2026-04-25T19:39:28+0600, Dorjoy Chowdhury wrote: > Signed-off-by: Dorjoy Chowdhury > --- > man/man2/openat2.2 | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/man/man2/openat2.2 b/man/man2/openat2.2 > index f0770f3a0..42ebf22ea 100644 > --- a/man/man2/openat2.2 > +++ b/man/man2/openat2.2 > @@ -133,6 +133,19 @@ argument, > .BR openat2 () > returns an error if unknown or conflicting flags are specified in > .IR how.flags . > +.IP > +.BR openat2 () > +also supports the below additional flags: > +.RS > +.TP > +.BR OPENAT2_REGULAR " (since Linux 7.2)" > +Only open the file specified by > +.I path > +if it is a regular file. If it is not a regular file, Please use semantic newlines. See man-pages(7): $ MANWIDTH=72 man man-pages | awk '/Use semantic newlines/,/^$/' Use semantic newlines In the source of a manual page, new sentences should be started on new lines, long sentences should be split into lines at clause breaks (commas, semicolons, colons, and so on), and long clauses should be split at phrase boundaries. This convention, sometimes known as "semantic newlines", makes it easier to see the effect of patches, which often operate at the level of individual sentences, clauses, or phrases. That is, break the line after period. > +.BR openat2 () > +fails with the error > +.BR EFTYPE . Hmmm, this error code is new to me. alx@devuan:~$ errno EFTYPE alx@devuan:~$ echo $? 1 alx@devuan:~$ man 3 errno | grep EFTYPE alx@devuan:~$ grepc EFTYPE /usr/include/ alx@devuan:~$ I don't see it documented, nor defined under . Is this error code available in user space? Is it a new error code? > +.RE > .TP > .I mode > This field specifies the > @@ -471,6 +484,12 @@ and an escape from the root during path resolution was detected. > contains > .BR RESOLVE_NO_XDEV , > and a path component crosses a mount point. > +.TP > +.B EFTYPE > +.I how.flags > +contains > +.BR OPENAT2_REGULAR This should use B instead of BR. BR is for alternating Bold and Roman. B is for Bold. Other than these minor formatting issues, and the question about EFTYPE, the patch looks good to me. Thanks! Have a lovely day! Alex > +flag and the path is not a regular file. > .SH STANDARDS > Linux. > .SH HISTORY > -- > 2.53.0 > --