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-18 10:51:45 +08:00
2023-05-16 12:35:01 -03:00
2023-05-10 19:32:09 -03:00
2023-01-30 11:25:10 +08:00
2023-04-24 01:52:33 +08:00
2023-07-18 10:51:45 +08:00
2023-05-16 12:35:01 -03:00
2023-05-29 13:00:06 +02:00
2023-08-03 03:16:31 -07:00
2023-02-02 13:31:06 +08:00
2023-01-30 11:25:10 +08:00
2022-08-26 20:58:11 +08:00
2023-02-12 01:25:34 +08:00
2023-05-10 19:32:09 -03:00
2023-07-18 10:51:45 +08:00
2023-08-07 08:08:37 -07:00
2023-01-30 11:25:10 +08:00
2022-03-12 19:24:17 +02:00
2023-05-10 19:32:09 -03:00
2023-04-24 01:52:33 +08:00
2023-02-17 11:17:11 -03:00
2023-07-13 19:40:04 +08:00
2023-01-18 16:24:09 +08:00
2023-06-01 17:05:54 +08:00
2023-06-01 17:05:54 +08:00
2023-05-13 12:39:53 +08:00
2023-02-14 11:21:09 +08:00
2022-11-13 09:09:36 +08:00
2023-05-10 19:32:09 -03:00
2023-05-10 19:32:09 -03:00
2023-05-16 12:35:01 -03:00
2023-05-10 19:32:09 -03:00
2023-05-16 12:35:01 -03:00
2023-07-18 10:51:45 +08:00