|
From: | Justus Winter |
Subject: | Re: mach_task_self, mach_thread_self, mach_host_self |
Date: | Wed, 03 Jun 2015 13:54:40 +0200 |
User-agent: | alot/0.3.5 |
Hello, I independently rediscovered that host port leak. I see two options how to proceed: 1/ Cache the port in the libc like we do for the task port. 2/ Cache/deallocate the port everywhere. Given the fact that I found not a single call site of `mach_host_self' (in both the Hurd and the libc) that deallocated the port, the expectation clearly seems to be that `mach_host_self' works like `mach_task_self'. Shall we be pragmatic about it and go with 1/? Justus
[Prev in Thread] | Current Thread | [Next in Thread] |