LWN: Comments on "Two address-space-isolation patches get closer" https://lwn.net/Articles/835342/ This is a special feed containing comments posted to the individual LWN article titled "Two address-space-isolation patches get closer". en-us Wed, 22 Oct 2025 14:06:09 +0000 Wed, 22 Oct 2025 14:06:09 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Two address-space-isolation patches get closer https://lwn.net/Articles/857250/ https://lwn.net/Articles/857250/ zengtm <div class="FormattedComment"> A few years ago, linux-arch-msm + QHEE (Qualcomm Hypervisor Execution Environment) also posted patches to take memory away from host kernel via a new Hypercall &quot;hyp_assign_phys()&quot;, with this proposed patch:<br> <p> <a rel="nofollow" href="https://patchwork.kernel.org/project/linux-arm-msm/patch/1483974609-25522-2-git-send-email-akdwived@codeaurora.org/">https://patchwork.kernel.org/project/linux-arm-msm/patch/...</a><br> <p> <font class="QuotedText">&gt; + ret = hyp_assign_phys(qproc-&gt;dev, addr, size,</font><br> <font class="QuotedText">&gt; + qproc-&gt;vmid_details.srcVM,</font><br> <font class="QuotedText">&gt; + src_count, qproc-&gt;vmid_details.destVM,</font><br> <font class="QuotedText">&gt; + qproc-&gt;vmid_details.destVMperm, dest_count);</font><br> <p> Agree it is a trade-off between fragmentation and protection.<br> </div> Wed, 26 May 2021 02:36:40 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835887/ https://lwn.net/Articles/835887/ nybble41 <div class="FormattedComment"> <font class="QuotedText">&gt; Secretmem prevents ptrace access…</font><br> <p> *All* ptrace access, or just PTRACE_PEEKDATA? If it&#x27;s the latter then ptrace could still be used to access the &quot;secret&quot; memory by first injecting code into the process to copy the data elsewhere.<br> <p> I can&#x27;t say I&#x27;m all that comfortable with the idea of handing processes rootkit-like tools to hide the contents of their memory from the system administrator, though I suppose the enforcement aspects could be patched out of the kernel easily enough without affecting the userspace ABI. This seems like something that could benefit malware (including, but not limited to, DRM) at least as much as security software.<br> </div> Mon, 02 Nov 2020 22:14:01 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835872/ https://lwn.net/Articles/835872/ rppt <div class="FormattedComment"> Secretmem prevents ptrace access so debuggers and core dumping won&#x27;t be able to read these pages. As for criu, in theory it could read secretmem mappings, but this would reduce the security benefits of using secretmem.<br> </div> Mon, 02 Nov 2020 17:49:19 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835841/ https://lwn.net/Articles/835841/ rppt <div class="FormattedComment"> I hesitated a lot and decided in favour of a new systcall after I&#x27;ve started to draft man page.<br> The description would be quite different and I though it would be confusing.<br> </div> Mon, 02 Nov 2020 16:12:52 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835467/ https://lwn.net/Articles/835467/ mss <div class="FormattedComment"> In terms of address space isolation there is also KVM Address Space Isolation (ASI).<br> <p> There will be talk about it later today at the KVM Forum:<br> <a href="https://kvmforum2020.sched.com/event/eE2A/kvm-address-space-isolation-alexandre-chartre-oracle?iframe=no">https://kvmforum2020.sched.com/event/eE2A/kvm-address-spa...</a><br> <p> </div> Wed, 28 Oct 2020 14:51:34 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835459/ https://lwn.net/Articles/835459/ mathstuf <div class="FormattedComment"> How will this affect debuggers and core dumping? Will these be inaccessible through ptrace? What&#x27;s the interaction with criu saving and restoring? If VM rebooting is being given up, I&#x27;d expect criu is also out of luck here.<br> </div> Wed, 28 Oct 2020 14:29:22 +0000 Two address-space-isolation patches get closer https://lwn.net/Articles/835438/ https://lwn.net/Articles/835438/ dullfire <div class="FormattedComment"> why is memfd_secret another syscall? doesn&#x27;t it make much more sense as a flag to memfd_create?<br> <p> and if you really really want, the &#x27;secret&#x27; flag could add a &#x27;secret_flags&#x27; argument.<br> <p> unless memfd_create does not error on unknown flags I don&#x27;t see a reason not to have done that.<br> </div> Tue, 27 Oct 2020 23:41:23 +0000