public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix RAM disk crash
@ 2023-08-07 10:13 Les De Ridder
  2023-08-07 10:13 ` [PATCH 1/2] Detect RAM disks as a separate filesystem type Les De Ridder
  2023-08-07 10:13 ` [PATCH 2/2] Use init_reopen_attr in mmap Les De Ridder
  0 siblings, 2 replies; 4+ messages in thread
From: Les De Ridder @ 2023-08-07 10:13 UTC (permalink / raw)
  To: cygwin-patches; +Cc: Les De Ridder

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-07 11:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07 10:13 [PATCH 0/2] Fix RAM disk crash Les De Ridder
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

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).