On Fri, Jan 11, 2002 at 01:15:37PM +0100, Enrico Bernardini wrote:
>My program has a strange behavior. It is like this example:
>main
>{
>...
>setuid(client_uid);
>...
>
>switch(fork())
>case default:
>...
>break;
>
>case 0: /* child */
>...
>execle(...);
>break;
>}
>
>well, it works but when I re
Hi,
my program hav a strange beaviour:
It is like this example:
main
{
...
setuid(client_uid);
...
switch(fork())
case default:
...
break;
case 0: /* child */
...
execle(...);
break;
}
well, it works but when I remove a stupid unrelated piece of code
(setuid(client_uid);)
in the main, the proc
2 matches
Mail list logo