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: Modular Software
2025-04-17 DFIR CTF persistence linux persistence apache asterisk
Linux Persistence: Web Shells
2025-04-16 DFIR persistence webshell linux persistence webshell apache nginx PHP
Linux Persistence: Rootkits
2025-04-15 DFIR persistence rootkit LKM linux persistence LKM rootkit LD_PRELOAD kprobe ftrace ld.so hooking
Defanging Linux LKM Rootkits With cleanup_module()
2025-04-05 Linux LKM rootkits EDR hooks incident response Linux LKM rootkit