Index: src/trusted/service_runtime/sys_memory.c |
diff --git a/src/trusted/service_runtime/sys_memory.c b/src/trusted/service_runtime/sys_memory.c |
index 07a2b274c76cd9f571d9f758d6106a603c0081b3..440fe11d090aa1acca259d776612f0522ba063f4 100644 |
--- a/src/trusted/service_runtime/sys_memory.c |
+++ b/src/trusted/service_runtime/sys_memory.c |
@@ -403,8 +403,7 @@ int32_t NaClSysMmapIntern(struct NaClApp *nap, |
* can't do it. |
*/ |
if (!NACL_ABI_S_ISREG(stbuf.nacl_abi_st_mode) && |
- !NACL_ABI_S_ISSHM(stbuf.nacl_abi_st_mode) && |
- !NACL_ABI_S_ISSHM_SYSV(stbuf.nacl_abi_st_mode)) { |
+ !NACL_ABI_S_ISSHM(stbuf.nacl_abi_st_mode)) { |
map_result = -NACL_ABI_ENODEV; |
goto cleanup; |
} |