Comment #9 on issue 12343 by craig.schlenter: ProcessSingleton Linux  
cleanups
http://code.google.com/p/chromium/issues/detail?id=12343

Re comment 6, I think it is possible to figure out the pid of the listening  
socket:

[cr...@csinspiron src(trunk)]$ cat /proc/net/unix | grep -a Singleton
ed547880: 00000002 00000000 00010000 0001 01 2352680
/home/craig/.config/chromium/SingletonSocket
[cr...@csinspiron src(trunk)]$ ls -l /proc/*/fd 2>/dev/null|grep socket| 
grep 2352680
lrwx------ 1 craig craig 64 2009-07-05 17:04 15 -> socket:[2352680]

I'm not sure what the default permissions of the proc stuff is but it seems  
readable
to me. It does seem expensive to parse large parts of proc to find the  
matching inode
number though ...

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to