[Patch] Fixing the PROCESS_DUP_HANDLE security hole.

Pierre A. Humblet pierre@phumblet.no-ip.org
Tue Dec 21 16:57:00 GMT 2004


At 12:43 AM 12/4/2004 -0500, you wrote:
>On Thu, Dec 02, 2004 at 09:13:11PM -0500, Pierre A. Humblet wrote:
>>- Non cygwin processes started by cygwin are not shown by ps
>>  anymore and cannot be killed.
>>
>>- spawn(P_DETACH) does not work correctly when spawning non-cygwin 
>>  processes.

> The above are both unintentional and fixable.

Sorry for the slow response, but I still see the second problem.

The following program does not behave the same in 1.5.12 and 
CYGWIN_ME-4.90 hpn5170 1.5.13s(0.117/4/2) 20041218 11:42:51

#include <process.h>
#include <stdio.h>

main()
{
    spawnl(_P_DETACH, "/c/WINDOWS/notepad", "notepad", 0);
}



More information about the Cygwin-patches mailing list