Revert "kbind(2): disable system call if not initialized before
authorguenther <guenther@openbsd.org>
Fri, 10 Dec 2021 05:34:42 +0000 (05:34 +0000)
committerguenther <guenther@openbsd.org>
Fri, 10 Dec 2021 05:34:42 +0000 (05:34 +0000)
commit6ac18ccb9b6851970e60b23060d3f6908d265ecd
tree5f8ef8165a77e427746129216baee9854cbf62ae
parenteb897bf188ac5e11052fcbd6bf96a67fa26da039
Revert "kbind(2): disable system call if not initialized before
first __tfork(2)"

The immediate issue is that a process linked with -znow will still
perform lazy relocation on objects loaded with dlopen(), but there
are possibly other dark corners to plumb to find a better invariant.

Problem reported by thfr@
sys/kern/kern_fork.c
sys/sys/proc.h
sys/uvm/uvm_mmap.c