From: Florian Weimer <fweimer@redhat.com>
To: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH v6 3/5] linux: Add close_range
Date: Sun, 27 Jun 2021 19:23:43 +0200 [thread overview]
Message-ID: <87k0mf2pcw.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20210623185115.395812-4-adhemerval.zanella@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Wed, 23 Jun 2021 15:51:13 -0300")
* Adhemerval Zanella via Libc-alpha:
> diff --git a/manual/llio.texi b/manual/llio.texi
> index cbc4909fd5..3613ead72c 100644
> --- a/manual/llio.texi
> +++ b/manual/llio.texi
> +@item EMFILE
> +The process has too many files open.
> +The maximum number of file descriptors is controlled by the
> +@end table
> +@end deftypefun
Missing end of sentence.
I think we should explicitly mention the ENOSYS error code,
and that not all kernels support all flags.
> diff --git a/sysdeps/unix/sysv/linux/tst-close_range.c b/sysdeps/unix/sysv/linux/tst-close_range.c
> new file mode 100644
> index 0000000000..86c9f08845
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/tst-close_range.c
I think I reviewed this test before, right?
> + TEST_COMPARE (WEXITSTATUS(status), 0);
> + TEST_COMPARE (WEXITSTATUS(status), 0);
Missing space before '('.
Rest looks okay.
Thanks,
Florian
next prev parent reply other threads:[~2021-06-27 17:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 18:51 [PATCH v6 0/5] Add close_range, closefrom, and posix_spawn_file_actions_closefrom_np Adhemerval Zanella
2021-06-23 18:51 ` [PATCH v6 1/5] support: Add support_stack_alloc Adhemerval Zanella
2021-06-24 9:15 ` Florian Weimer
2021-06-24 11:33 ` Adhemerval Zanella
2021-06-23 18:51 ` [PATCH v6 2/5] support: Add xclone Adhemerval Zanella
2021-06-24 9:15 ` Florian Weimer
2021-06-23 18:51 ` [PATCH v6 3/5] linux: Add close_range Adhemerval Zanella
2021-06-27 17:23 ` Florian Weimer [this message]
2021-06-23 18:51 ` [PATCH v6 4/5] io: Add closefrom [BZ #10353] Adhemerval Zanella
2021-07-03 14:45 ` Jonathon Anderson
2021-07-05 20:26 ` Adhemerval Zanella
2021-07-06 11:37 ` Florian Weimer
2021-06-23 18:51 ` [PATCH v6 5/5] posix: Add posix_spawn_file_actions_closefrom_np Adhemerval Zanella
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=87k0mf2pcw.fsf@oldenburg.str.redhat.com \
--to=fweimer@redhat.com \
--cc=libc-alpha@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).