[compat] fix solaris shm_open syscall causing crashes with SHM_ANON, implement portable posix shm_open_anon #187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "solarismapfix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -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) {
when i'm in an adding basic features to the kernel competition and my opponent is a unix like OS
needs license headers but good otherwsie
New commits pushed, approval review dismissed automatically according to repository settings