| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Fri, 11 Jan 2002 14:10:38 -0500 |
| From: | Christopher Faylor <cgf AT redhat DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: status access violation |
| Message-ID: | <20020111191038.GF30896@redhat.com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <3C3ED769 DOT 301AB428 AT adm DOT unipi DOT it> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <3C3ED769.301AB428@adm.unipi.it> |
| User-Agent: | Mutt/1.3.23.1i |
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 remove a stupid unrelated piece of code
>(setuid(client_uid);)
>[snip]
>The process forks but it crashes during the execle call.
>
>Can anybody please help me?
I'll try. I need an actual test case, though.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |