Hi Cygwin community,
I am currently facing a problem with the combination of setuid/execv on a
Cygwin/Windows 7.
Here is the description of my configuration :
* Cygwin 1.7.17
* Windows 7 Pro (64 bits) - Service Pack 1
* Compilation (no option) and execution of a sample program using an admin
On Nov 9 08:59, Laurent Cocault wrote:
Hi Cygwin community,
I am currently facing a problem with the combination of setuid/execv on a
Cygwin/Windows 7.
[...]
char* args[1];
args[0] = NULL;
status = execv(/bin/bash, args);
This is wrong. You should at least set args[0]
On Nov 9 10:08, Corinna Vinschen wrote:
On Nov 9 08:59, Laurent Cocault wrote:
Hi Cygwin community,
I am currently facing a problem with the combination of setuid/execv on a
Cygwin/Windows 7.
[...]
char* args[1];
args[0] = NULL;
status = execv(/bin/bash, args);
3 matches
Mail list logo