> Date: Fri, 24 Oct 2008 06:02:00 -0700 (PDT) > From: Tad <[EMAIL PROTECTED]> > > I have a program created by C language. It usually works fine, but the > program(process) sometimes is killed while it is running. > As far as I debug the process, The program is killed by SIGKILL signal > when it calls execvp(). > > I know that SIGKILL signal would be sent to a process calling execve() > as it fails to replace the new process image. So far, the problem > might be reproduced depends on the owner of the file passed to the > execvp(). > > i.e. > When the file owner is user A, the problem never happens. > When the file owner is user B, the problem happens. (the problem does > not occur always. It happens only a couple of time in thousands of the > same execution.) > > Has anyone experienced the similar problem? I wanna know what can be a > cause of SIGKILL when the program calls execvp(). If it depends on the > owner, what kind of user limit/env/attribution can affect to execve()?
Tad, I'd suggest examining the routine elfexec() at: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/exec/elf/elf.c#245 for the various cases leading to the bad: label. -JZ _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
