Linux fd 系列 | 匿名 fd 是什么?

匿名 fd 是什么? 我们经常在 /proc/${pid}/fd/ 下面能看到 anon_inode : 前缀的句柄,如下: root@ubuntu:~/temp# ll /proc/5398/fd lr-x------ 1 root root 64 Aug 24 09:39 11 -> anon_inode:inotify lrwx------ 1 root root 64 Aug 24 09:39 4 -> anon_inode:[eventpoll] lrwx------ 1 root root 64 Aug 24 09:39 5 -> anon_inode:[signalfd] lrwx------ 1 root root 64