Get socket creator (ie: PID & UID)
Get socket creator (ie: PID & UID)
- Subject: Get socket creator (ie: PID & UID)
- From: Vincent Pottier <email@hidden>
- Date: Sat, 19 Feb 2005 18:15:28 +0100
Hi folks, I've the tcplogger sample code and I would like to get the socket creator PID and UID. After a few search, It looks that I can get it via current_proc() called on socreate time. But this feature is disable in the sample I have and I get an error when using it. (warning: implicit declaration of function 'current_proc'). I've already try to #include some object but can't make it work. Does someone can explain me how to use it?
Thanks in advance, Vincent |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden