This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fixing the PROCESS_DUP_HANDLE security hole.


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);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]