[parisc-linux] Re: pipes
Richard Hirst
rhirst@linuxcare.com
Thu, 22 Feb 2001 17:00:50 +0000
On Fri, Feb 23, 2001 at 12:27:44AM +1100, Alan Modra wrote:
> suit. What's the betting you can't reproduce this? :-(
atm the child dies for me before the two get to talk over the pipes at
all.
Beware: strace output is wrong after a traced program does execve:
main()
{
execl("/bin/true", "true", 0);
}
...
...
getpid() = 13025
execve("/bin/true", ["true"], [/* 20 vars */]) = 0
execve("ê À", [ptrace: umoven: Input/output error
0x1], [/* 1 var */]) = 1073851560
newuname({sys="Linux", node="merlin", ...}) = 0
brk(0) = 0x2f
open("/etc/ld.so.preload", O_RDONLY) = 9
open("/etc/ld.so.cache", O_RDONLY) = 3
newfstat(3, {st_mode=S_IFREG|0644, st_size=7103, ...}) = 0
mmap(NULL, 7103, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3) = 1073863222
open("/lib/libc.so.6", O_RDONLY) = 1073848888
read(3, "\177ELF\1\2\1\3\0\0\0\0\0\0\0\0\0\3\0\17\0\0\0\1\0\2k\314"..., 1024) = 1073856336