Zhe Weng
817a43de4d
net: Add FIOC_FILEPATH ioctl support for tcp/udp/local sockets
Example of /proc/PID/group/fd, which prints the file path:
FD OFLAGS TYPE POS PATH
0 3 1 0 /dev/console
1 3 1 0 /dev/console
2 3 1 0 /dev/console
3 3 9 0 udp:[0.0.0.0:10197<->114.118.7.163:123, tx 0/16384, rx 0/16384, flg 1]
4 1027 9 0 tcp:[0.0.0.0:23<->0.0.0.0:0, tx 0/16384, rx 0/16384 + ofo 0, st 01, flg 31]
5 67 9 0 local:[md:ap]
Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-08-07 08:08:37 -07:00
..
2023-07-08 13:50:48 +08:00
2023-07-16 14:39:20 -03:00
2021-07-05 06:20:52 -05:00
2023-07-31 18:56:40 -07:00
2023-05-10 19:32:09 -03:00
2023-08-03 03:16:31 -07:00
2023-01-13 16:41:10 +08:00
2023-02-12 01:25:34 +08:00
2022-10-28 00:32:16 -04:00
2023-08-07 08:08:37 -07:00
2022-10-28 00:32:16 -04:00
2023-07-18 10:51:45 +08:00
2023-07-18 10:51:45 +08:00
2023-07-18 10:51:45 +08:00
2023-05-13 12:39:53 +08:00
2023-08-03 00:15:28 -07:00
2023-06-01 17:05:54 +08:00
2022-08-25 17:56:52 +08:00
2023-05-10 19:32:09 -03:00
2021-02-20 00:38:18 -08:00
2023-01-15 12:31:30 -03:00
2023-07-18 10:51:45 +08:00