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.


On Wed, Dec 22, 2004 at 11:13:30AM -0500, Pierre A. Humblet wrote:
>I tried my spawn(P_DETACH) example (updated since yesterday)
>with the latest snapshot, this time on NT. 
>
>#include <stdio.h>
>#include <unistd.h>
>#include <process.h>
>
>main()
>{
>    spawnl(_P_DETACH, "/c/WINNT/system32/notepad", "notepad", 0);
>    printf("Spawn done\n");
>    /* Keep working */
>    sleep(10);
>    printf("Exiting\n");
>}
>
>New problem is with gcc (gcc version 3.3.3 (cygwin special))
>~/try> uname -a
>CYGWIN_NT-4.0 usched40576 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown unknown Cygwin
>~/try> gcc -o try_spawn try_spawn.c

This is unrelated to the process changes.  Corinna checked in a patch
for this at 11:31 GMT.

cgf


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