<div dir="ltr">Hi Clemens,<div><br></div><div>Probably I solved some issues from before. One general reason I found was that my file descriptor was getting closed by some process.</div><div>I handled that by checking in close.c that the fd getting closed is not referencing my files. This has made some errors to vanish. Installation of some ports works smoothly and for some doesn’t. Till what I figure out, I need to handle in exec, posix_spawn and dup2 possibly. Am I correct on that? Is there somewhere else also where I need to make checks?</div><div>Also I had a question in my mind, recently I read that mmap(2) is not async-safe, so if the library interposes a func which is async safe and was called in a signal handler, will it be okay?</div><div><br></div><div>Regards,</div><div>Mihir</div></div>