From 7c3323a25bc1d5844feb7f9ed241fdbdb4819739 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Fri, 21 May 2021 13:21:15 +0300 Subject: tmpfs: Return read-only memory objects when appropriate --- tmpfs/tmpfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmpfs/tmpfs.h') diff --git a/tmpfs/tmpfs.h b/tmpfs/tmpfs.h index ad472009..40554557 100644 --- a/tmpfs/tmpfs.h +++ b/tmpfs/tmpfs.h @@ -46,7 +46,7 @@ struct disknode char *lnk; /* malloc'd symlink target */ struct { - mach_port_t memobj; + mach_port_t memobj, ro_memobj; vm_address_t memref; unsigned int allocpages; /* largest size while memobj was live */ } reg; -- cgit v1.2.3