[compat] fix solaris shm_open syscall causing crashes with SHM_ANON, implement portable posix shm_open_anon #187

Merged
crueter merged 2 commits from solarismapfix into master 2025-08-03 04:13:54 +02:00
Member
No description provided.
Lizzie added 1 commit 2025-08-03 03:48:17 +02:00
crueter approved these changes 2025-08-03 03:57:10 +02:00
Dismissed
@ -428,0 +427,4 @@
/// Most Unices don't have a portable shm_open (AIX, OpenBSD, NetBSD, Solaris 11, OpenIndiana)
/// Portable implementation of shm_open(SHM_ANON, ...) - roughly equivalent but without
/// OS support - may fail sporadically, beware!
static int shm_open_anon(int flags, mode_t mode) {
Owner

when i'm in an adding basic features to the kernel competition and my opponent is a unix like OS

when i'm in an adding basic features to the kernel competition and my opponent is a unix like OS
crueter scheduled this pull request to auto merge when all checks succeed 2025-08-03 04:10:15 +02:00
Owner

needs license headers but good otherwsie

needs license headers but good otherwsie
crueter added 1 commit 2025-08-03 04:13:34 +02:00
Fix license headers
All checks were successful
eden-license / license-header (pull_request) Successful in 15s
8c868999a9
crueter dismissed crueter's review 2025-08-03 04:13:35 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

crueter approved these changes 2025-08-03 04:13:48 +02:00
crueter merged commit 7a10d7ca87 into master 2025-08-03 04:13:54 +02:00
crueter deleted branch solarismapfix 2025-08-03 04:13:56 +02:00
Sign in to join this conversation.
No description provided.