linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
To: "Michael Kerrisk (man-pages)"
	<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/1 v2] fanotify: create manpages
Date: Fri, 25 Apr 2014 17:10:42 +0200	[thread overview]
Message-ID: <535A7AF2.3030501@gmx.de> (raw)
In-Reply-To: <535A3C3E.8050400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On 25.04.2014 12:43, Michael Kerrisk (man-pages) wrote:
> Some things I'd like you to check or fix:
> * Please review 679a078389 (ETXTBUSY)
ok

> * Please review 3b32c70be9 (FAN_MARK_FLUSH bug)
a period ('.') is missing at the end of the sentence.
You received a patch.

> * See the FIXME in the example code in fanotify(7).
My understanding is, that file descriptors are always positive.
Please, correct me if I am wrong. Comparing to FAN_NOFD would
be a valid alternative.

You are right that queue overflow is not notified to the user.
But it is not necessary for the listener to take any action in case
of a queue overflow.

> * The readdir(2) / FAN_ACCESS bug is described in fanotify(7)
>    and fanotify_mark(7). It only needs to be in one of the pages.
>    Could you patch to remove whichever you think should be removed.
Patch provided

>
> An earlier question that I believe is still not resolved:
>
> [[
>> ' Now I know that I earlier said that FAN_ONDIR and FAN_EVENT_ON_CHILD
>> ' belong in the input events for fanotify_mark(), not here in the
>> ' returned events. Or at least, as far as I can tell, they can't be
>> ' in the returned events--but can you confirm this please.
>> Where did you find FAN_ONDIR and FAN_EVENT_ON_CHILD in fanotify.7?
>
> They were in an earlier version in fanotify.7, if I recall correctly.
> Anyway, my point is: have you confirmed that FAN_ONDIR and
> FAN_EVENT_ON_CHILD are only input flags, and can't be returned as output
> event flags?
> ]]
Verified with test program: FAN_ONDIR and FAN_EVENT_ON_CHILD are not 
returned as output event flags, when specified fanotify_mark.
>
> Once we've finished those tweaks, we can pester Eric for a review.
Let's say invite. Hopefully he is not too busy.
>
Cheers

Heinrich
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-04-25 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 20:18 [PATCH 1/1 v2] fanotify: create manpages Heinrich Schuchardt
     [not found] ` <1398370691-13971-1-git-send-email-xypron.glpk-Mmb7MZpHnFY@public.gmane.org>
2014-04-25 10:43   ` Michael Kerrisk (man-pages)
     [not found]     ` <535A3C3E.8050400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-04-25 15:10       ` Heinrich Schuchardt [this message]
     [not found]         ` <535A7AF2.3030501-Mmb7MZpHnFY@public.gmane.org>
2014-04-25 18:10           ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535A7AF2.3030501@gmx.de \
    --to=xypron.glpk-mmb7mzphnfy@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).