-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
When using task::get_net
, all of the network sockets that exist are returned, not just the ones for the particular process that we are looking at. I'm not sure if this is intentional or not, since /proc/<task>/net
is the same as /proc/net
. All of the other getters for the task
class only get data for that particular task.
It would be nice if pfs could automatically filter what it returns for each particular process, so that you only get the sockets for the particular task that you are looking at. I do this manually, by checking all of the inode numbers and checking if the socket is used by this process or not based off of the inode number.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request