Doesn't OpenBSD have an API that has this kind of functionality too, albeit in a slightly simpler form?
https://man.openbsd.org/mimmutable
The OpenBSD kernel does automatic immutable for certain regions (e.g: stack, program text, bss), as well as from ld.so.
Ironically, mimmutable(2) is already used in the OpenBSD chromium port for v8.
https://marc.info/?l=openbsd-ports-cvs&m=168854379207826&w=2
There is absolutely no excuse for Google to propose something different for no reason.