unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault via Libc-alpha <libc-alpha@sourceware.org>
To: Florian Weimer <fweimer@redhat.com>
Cc: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>,
	Sergey Bugaev <bugaevc@gmail.com>
Subject: Re: [PATCH v2] io: Refactor close_range and closefrom
Date: Wed, 24 Nov 2021 13:17:41 +0100	[thread overview]
Message-ID: <20211124121741.qcrchlkne6c3ystm@begin> (raw)
In-Reply-To: <87mtltoj5k.fsf@oldenburg.str.redhat.com>

Florian Weimer, le mer. 24 nov. 2021 13:03:19 +0100, a ecrit:
> * Adhemerval Zanella:
> 
> >> diff --git a/sysdeps/mach/hurd/kernel-features.h b/sysdeps/mach/hurd/kernel-features.h
> >> index 7d4eaee0a6..5fd37a6d7b 100644
> >> --- a/sysdeps/mach/hurd/kernel-features.h
> >> +++ b/sysdeps/mach/hurd/kernel-features.h
> >> @@ -19,3 +19,5 @@
> >>  /* This file can define __ASSUME_* macros checked by certain source files.
> >>     Almost none of these are used outside of sysdeps/unix/sysv/linux code.
> >>     But those referring to POSIX-level features like O_* flags can be.  */
> >> +
> >> +#define __ASSUME_CLOSE_RANGE 1
> >
> > It does add it here (I also checked with a build for i688-gnu).
> 
> Hmm, this doesn't match existing practice.  We haven't unified
> implementations in light of such divergence, I think.  If the Hurd
> developers don't object, it should be fine, though..

I'm fine with it yes. This is not a "kernel-feature" since it's actually
implemented inside glibc itself, but from the point of view of the rest
of the world that's how people understand it, so better adhere to it :)

Samuel

  reply	other threads:[~2021-11-24 12:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08 17:28 [PATCH v2] io: Refactor close_range and closefrom Adhemerval Zanella via Libc-alpha
2021-11-23 18:29 ` Adhemerval Zanella via Libc-alpha
2021-11-24  9:52 ` Florian Weimer via Libc-alpha
2021-11-24 11:36   ` Adhemerval Zanella via Libc-alpha
2021-11-24 12:03     ` Florian Weimer via Libc-alpha
2021-11-24 12:17       ` Samuel Thibault via Libc-alpha [this message]
2021-11-24 12:20       ` Adhemerval Zanella via Libc-alpha
2021-11-24 12:43         ` Adhemerval Zanella via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=20211124121741.qcrchlkne6c3ystm@begin \
    --to=libc-alpha@sourceware.org \
    --cc=bugaevc@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=samuel.thibault@gnu.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).