public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Les De Ridder <les@lesderid.net>
To: cygwin-patches@cygwin.com
Cc: Les De Ridder <les@lesderid.net>
Subject: [PATCH 0/2] Fix RAM disk crash
Date: Mon,  7 Aug 2023 03:13:13 -0700	[thread overview]
Message-ID: <cover.1690932049.git.les@lesderid.net> (raw)

Some executables cause a bugcheck when running Cygwin off a native RAM
disk, which AFAICT is caused by a buggy (Microsoft) driver. This issue
will most likely only occur on WinPE and similar environments (tested on
10.0.20348.1).

See <https://github.com/msys2/msys2-runtime/issues/160> for some
context.

I provide my patches under both the 2-clause BSD license and the CC0
license.

Les De Ridder (2):
  Detect RAM disks as a separate filesystem type
  Use init_reopen_attr in mmap

 winsup/cygwin/local_includes/mount.h |  2 ++
 winsup/cygwin/local_includes/path.h  |  1 +
 winsup/cygwin/mm/mmap.cc             |  5 ++---
 winsup/cygwin/mount.cc               | 12 ++++++++++++
 4 files changed, 17 insertions(+), 3 deletions(-)

-- 
2.41.0


             reply	other threads:[~2023-08-07 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 10:13 Les De Ridder [this message]
2023-08-07 10:13 ` [PATCH 1/2] Detect RAM disks as a separate filesystem type Les De Ridder
2023-08-07 11:17   ` Corinna Vinschen
2023-08-07 10:13 ` [PATCH 2/2] Use init_reopen_attr in mmap Les De Ridder

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=cover.1690932049.git.les@lesderid.net \
    --to=les@lesderid.net \
    --cc=cygwin-patches@cygwin.com \
    /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).