PFZheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

BSD: different Process methods raise NSP instead of AD #372

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
All the methods using kinfo_getfile() are suffering this issue:

- get_connections()
- get_memory_maps()
- get_num_fds()
- get_open_files()
- getcwd()

In case kinfo_getfile() fails because of permissions error instead of raising 
AccessDenied we raise NoSuchProcess.

Original issue reported on code.google.com by g.rodola on 30 Apr 2013 at 7:18

GoogleCodeExporter commented 8 years ago
Fixed in revision a54c5090e927 and revision 1303aaa87854.

Original comment by g.rodola on 30 Apr 2013 at 7:24

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 3 May 2013 at 3:43