I already did that. With libc_r and libthr I don't see a single fork() here. > Yes, fix clamd so it doesn't fork() without doing an exec(). > POSIX says that behavior is undefined when threaded applications > fork() and call non-async-signal-safe functions.