Re: uvm_swap compression patch

Mouse <[email protected]> Thu, 2 Jul 2026 12:03:16 -0400 (EDT)
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
>> I've tested it using read/write on /dev/drum and tested it for
>> swapping on amd64 using plain and encrypted forms.  One point of
>> discussion could be that writing to /dev/drum from userland could be
>> allowed or not.  In the current patch its allowed.
> Both reading and writing on /dev/drum must be forbidden at
> securelevel > 0 or the entire security model falls apart.

Sure, but at securelevel<=0 it should work, if only for debugging and
postmortem analysis.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B