[英]Do functions which are not defined as async-safe, such as mmap(2), effect other async-safe functions called in signal handler?
我正在制作一個注入到進程中並重新定義某些功能的庫,例如open(2)在調用真正的open(2)之前執行一些任務。 我的圖書館叫mmap(2)。 由於open(2)是異步安全的,使用該庫的某人是否有可能在信號處理程序中調用open(2),而我的庫中還添加了對mmap(2)的調用,可能會使他對o ...