o co chodzi ?

Arkadiusz Patyk areq w pld-linux.org
Sob, 15 Maj 2004, 12:37:30 CEST


Witam

Chroot Ra z na maszynie z AC z 2.6.x:

[areq w Ra6 SPECS]$ cat ~/bin/pol
cat: standard output: Value too large for defined data type

[areq w Ra6 SPECS]$ head  ~/bin/pol
poldek --mkidxz -s /home/areq/rpm/RPMS/

$ strace cat ~/bin/pol
execve("/bin/cat", ["cat", "/home/areq/bin/pol"], [/* 20 vars */]) = 0
uname({sys="Linux", node="kivik", ...}) = 0
brk(0)                                  = 0x804d000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26395, ...}) = 0
old_mmap(NULL, 26395, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\10\333"...,
1024) = 1024
fstat(3, {st_mode=S_IFREG|0755, st_size=1198980, ...}) = 0
old_mmap(NULL, 1215104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x4001d000
mprotect(0x4013b000, 43648, PROT_NONE)  = 0
old_mmap(0x4013b000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x11d000) = 0x4013b000
old_mmap(0x40142000, 14976, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40142000
close(3)                                = 0
munmap(0x40016000, 26395)               = 0
brk(0)                                  = 0x804d000
brk(0x804d028)                          = 0x804d028
brk(0x804e000)                          = 0x804e000
fstat(1, 0xbfffeb5c)                    = -1 EOVERFLOW (Value too
large for defined data type)
write(2, "cat: ", 5cat: )                    = 5
write(2, "standard output", 15standard output)         = 15
write(2, ": Value too large for defined da"..., 39: Value too large
for defined data type) = 39
write(2, "\n", 1
)                       = 1
_exit(1)                                = ?

o co chodzi ?

-- 
Arkadiusz Patyk [areq(at)pld-linux.org] [http://rescuecd.pld-linux.org/]
[IRC:areq ICQ:16231667  GG:1383]  [AP3-6BONE] [AP14126-RIPE]



Więcej informacji o liście dyskusyjnej pld-devel-pl