]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/freebsd/os-syscall.c
bsd-user: Implement shm_open(2)
[mirror_qemu.git] / bsd-user / freebsd / os-syscall.c
index 92793ab1fb3d122b45fb07b50f5ae10498579143..0d4c3118f0dcb5678a0c21c6ac61542476bb1f03 100644 (file)
@@ -843,6 +843,10 @@ static abi_long freebsd_syscall(void *cpu_env, int num, abi_long arg1,
         ret = do_bsd_mincore(arg1, arg2, arg3);
         break;
 
+    case TARGET_FREEBSD_NR_freebsd12_shm_open: /* shm_open(2) */
+        ret = do_bsd_shm_open(arg1, arg2, arg3);
+        break;
+
 #if defined(__FreeBSD_version) && __FreeBSD_version >= 1300048
     case TARGET_FREEBSD_NR_shm_open2: /* shm_open2(2) */
         ret = do_freebsd_shm_open2(arg1, arg2, arg3, arg4, arg5);