The /proc/PID/fdinfo directory on procfs-enabled systems contains additional metadata such as the flags used by open() on the about file descriptors opened by a process (PID):
% cat /proc/self/fdinfo/0 pos: 0 flags: 02002002 mnt_id: 25 ino: 3
proc/PID/fdinfo
0001-01-01
The /proc/PID/fdinfo directory on procfs-enabled systems contains additional metadata such as the flags used by open() on the about file descriptors opened by a process (PID):
% cat /proc/self/fdinfo/0 pos: 0 flags: 02002002 mnt_id: 25 ino: 3
Linux Persistence: atd
2025-04-01 DFIR CTF linux persistence at atd
Linux Persistence: SSH
2025-03-29 DFIR CTF SSH hardening hunting persistence linux persistence hunting hardening SSH PAM