> What would be your opinion to having a> /proc/<pid>/handle> file instead of having a dirfd.This is even worse than depending on PROC_FS. Just for the dependencypidfd code should be backed out immediately. Forget about /proc.