This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Using /dev/full in execv
- From: Dag Nygren <dag at newtech dot fi>
- To: libc-alpha at sourceware dot org
- Date: Tue, 22 Aug 2006 18:37:32 +0300
- Subject: Using /dev/full in execv
Just finally found a strange bug where I got a SIGSEGV
from a program when it was started as a subprocess to
another program. Running the whole bunch under strace
always worked fine.
The behaviour was introduced when installing glibc-2.4.
Finally after some days work got a strace of the broken state
by using strace -fp "pid" and found that my system had wrong
permissions (644) on /dev/full. Changing this to 666 made everything
work fine.
My problem here is that glibc shouldn't segfault here but preferably
tell me what is going on....
Haven't looked at the code yet, but is this possibly already fixed?
Best
--
Dag Nygren email: dag@newtech.fi
Oy Espoon NewTech Ab phone: +358 9 8024910
Träsktorpet 3 fax: +358 9 8024916
02360 ESBO Mobile: +358 400 426312
FINLAND