unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Greg Troxel <gdt@lexort.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: <guile-devel@gnu.org>
Subject: Re: GNU Guile 3.0.9rc1 available for testing!
Date: Tue, 24 Jan 2023 10:43:39 -0500	[thread overview]
Message-ID: <rmih6wg9bv8.fsf@s1.lexort.com> (raw)
In-Reply-To: <877cxd33cz.fsf@gnu.org> ("Ludovic Courtès"'s message of "Mon, 23 Jan 2023 12:19:24 +0100")

Ludovic Courtès <ludo@gnu.org> writes:

> My understanding is that the expectation of being able to later mprotect
> that mapping to make it writable is a valid one per POSIX.  Quoth
> <https://pubs.opengroup.org/onlinepubs/9699919799/functions/mprotect.html>:
>
>   If PROT_WRITE is specified, the application shall ensure that it has
>   opened the mapped objects in the specified address range with write
>   permission, unless MAP_PRIVATE was specified in the original mapping,
>   regardless of whether the file descriptors used to map the objects
>   have since been closed.
>
> Here the original file descriptors are O_RDONLY, but the mapping is
> MAP_PRIVATE.
>
> I’m not sure how to best address that.
>
> Thoughts?

Thanks.  Definitely, let's keep this separate from 3.0.9.  It is not new
and it is easy for me to keep the workaround in pkgsrc.   I will consult
with our POSIX lawyers and see what comes of that.   If it turns out, as
seems likely, that this is a NetBSD bug, it will almost certainly be
fixed.

Either way, it might be good to have an ifdef with the workaround,  but
maybe with pkgsrc and few building not from pkgsrc, especially on
systems that wouldn't get the likely fix, it might be better to just not
do anything.  I think we should wait until we understand the POSIX
issues better.



      reply	other threads:[~2023-01-24 15:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 15:58 GNU Guile 3.0.9rc1 available for testing! Ludovic Courtès
2023-01-20 16:18 ` Thompson, David
2023-01-21 14:58   ` Jan Nieuwenhuizen
2023-01-23 10:42     ` Ludovic Courtès
2023-01-23 13:23       ` Janneke Nieuwenhuizen
2023-01-20 17:50 ` Aleix Conchillo Flaqué
2023-01-23 10:45   ` Ludovic Courtès
2023-01-23 17:01     ` Aleix Conchillo Flaqué
2023-01-22  2:12 ` Greg Troxel
2023-01-22 14:30   ` lloda
2023-01-22 14:39     ` Greg Troxel
2023-01-23 10:48       ` Ludovic Courtès
2023-01-23 18:04         ` lloda
2023-01-23 21:59           ` bug#60971: build failure of v3.0.9rc1 on mac os 12.6 Ludovic Courtès
2023-01-23 18:47         ` GNU Guile 3.0.9rc1 available for testing! Aleix Conchillo Flaqué
2023-01-25  1:44         ` Greg Troxel
2023-01-25 10:32           ` Ludovic Courtès
2023-01-22 17:41   ` Greg Troxel
2023-01-22 23:10     ` Greg Troxel
2023-01-23 11:02       ` Ludovic Courtès
2023-01-23 11:19     ` Ludovic Courtès
2023-01-24 15:43       ` Greg Troxel [this message]

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/guile/

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

  git send-email \
    --in-reply-to=rmih6wg9bv8.fsf@s1.lexort.com \
    --to=gdt@lexort.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@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).