(I noticed this because OpenBSD keeps adding ELF related
*_OPENBSD_* flags/types to llvm-* tools.)
I don’t have any insight or use OpenBSD, but want to check how others think about the feature. Some links:
lib/libc/sys/mimmutable.2 says “mmap(2), mprotect(2), and munmap(2) to pages marked immutable will return with error EPERM”. It’s likely incompatible with dlclose. This model is likely incompatible with Android Zygote.
My understanding of the currently implemented things on OpenBSD: