Re: [PATCH v2] fanotify: Document mount namespace events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amir,

On Thu, Apr 03, 2025 at 02:23:10PM +0200, Amir Goldstein wrote:
> > > diff --git a/man/man2/fanotify_init.2 b/man/man2/fanotify_init.2
> > > index 699b6f054..26289c496 100644
> > > --- a/man/man2/fanotify_init.2
> > > +++ b/man/man2/fanotify_init.2
> > > @@ -330,6 +330,26 @@ that the directory entry is referring to.
> > >  This is a synonym for
> > >  .RB ( FAN_REPORT_DFID_NAME | FAN_REPORT_FID | FAN_REPORT_TARGET_FID ).
> 
> See here
> 
> > >  .TP
> > > +.BR FAN_REPORT_MNT " (since Linux 6.14)"
> > > +.\" commit 0f46d81f2bce970b1c562aa3c944a271bbec2729
> > > +This value allows the receipt of events which contain additional information
> > > +about the underlying mount correlated to an event.
> > > +An additional record of type
> > > +.B FAN_EVENT_INFO_TYPE_MNT
> > > +encapsulates the information about the mount and is included alongside the
> > > +generic event metadata structure.
> > > +The use of
> > > +.BR FAN_CLASS_CONTENT ,
> > > +.BR FAN_CLASS_PRE_CONTENT,
> > > +or any of the
> > > +.B FAN_REPORT_DFID_NAME_TARGET
> >
> > What do you mean by any of the flags?  Is _NAME_ a placeholder?  If so,
> > the placeholder should be in italics:
> >
> >         .BI FOO_ placeholder _BAR
> 
> FAN_REPORT_DFID_NAME_TARGET is a macro for combination
> of flags (see above)

Makes sense.

> 
> None of those flags are allowed together with FAN_REPORT_MNT


> > s/BR/B/
> >
> 
> Fixed all.
> 
> Let me know if you are happy with my clarification on
> FAN_REPORT_DFID_NAME_TARGET

Yep, please go ahead.  Thanks!


Have a lovely night!
Alex

> 
> and I will post v3.
> 
> Thanks,
> Amir.

-- 
<https://www.alejandro-colomar.es/>
<https://www.alejandro-colomar.es:8443/>
<http://www.alejandro-colomar.es:8080/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux