| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: stress test failures |
| From: | "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx> |
| Date: | Wed, 7 Feb 2001 10:59:55 +0100 |
| In-reply-to: | <20010206135932.A27553@techno.informatik.uni-stuttgart.de>; from marcelo.magallon@bigfoot.com on Tue, Feb 06, 2001 at 01:59:32PM +0100 |
| Mail-followup-to: | linux-xfs@xxxxxxxxxxx |
| References: | <20010205104330.A1108@ysabell.wh.vaih> <200102060200.NAA32442@boing.melbourne.sgi.com> <20010206135932.A27553@techno.informatik.uni-stuttgart.de> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.12i |
>> "Marcelo E. Magallon" <marcelo.magallon@xxxxxxxxxxx> writes:
> "sh", but the one installed here does). The attached runas.c solves
> this:
Just a follow up. With these version of runas 051 succeeds, more or
less. Using system(3) you are calling the shell which outputs
something along the lines of:
sh: ./file1: Permission denied
I didn't realize that. This would fix it:
if (pid == 0) {
execvp(cmd[0], cmd);
fprintf(stderr, "%s: %s\n", cmd[0], strerror(errno));
exit(127);
}
Attached is a patch against current CVS. 051.out needs to be
regenerated for this to work.
--
Marcelo
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | new XFS on ppc tarball, Thomas Graichen |
|---|---|
| Next by Date: | GCC 2.95.x and stalled processes [PATCH], Hong H. Pham |
| Previous by Thread: | Re: stress test failures, Marcelo E. Magallon |
| Next by Thread: | Can't find some devices like ATAPI ZIP and CD-ROM on /dev after installation, Jo=E3o?= Paulo Legat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |