Re:OpenBSD Recent Security Innovations
by tedunangst on Wednesday June 05, 2019 @10:57PM
(#20111195)
So the name conceal was chosen to allow some flexibility, like prohibiting ptrace. The idea is to keep secrets from escaping into other programs. Other programs generally can't read swap, so that's not a concern.
“Conceal” (but not the manpage) suggests it won’t ever be written to swap, but “nocore” as a performance optimization suggests paging to swap is fine.
If dirty concealed pages can’t be swapped, then it starts to look like mlock(), which requires escalated privileges on linux, at least...
(Though, paging dirty mmapped pages to swap is kind of confusing in the first place.)