by superbock » Fri Apr 16, 2004 12:17 pm
# strace apt-get
execve("/usr/bin/apt-get", ["apt-get"], [/* 27 vars */]) = 0
uname({sys="Linux", node="uhuh.yeah", ...}) = 0
set_tid_address(0) = -1 ENOSYS (Function not implemented)
brk(0) = 0x8075de0
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=16394, ...}) = 0
old_mmap(NULL, 16394, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2334e000
close(3) = 0
open("/usr/lib/libapt-pkg-libc6.3-5.so.0", 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\0p\353\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1102914, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x23353000
old_mmap(0x9a5000, 963856, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x23354000
old_mmap(0x2343c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe7000) = 0x2343c000
close(3) = 0
open("/usr/lib/librpm-4.2.so", 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\340\251"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=311200, ...}) = 0
old_mmap(0x6d0000, 360116, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x23440000
old_mmap(0x23489000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x48000) = 0x23489000
old_mmap(0x2348d000, 44724, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2348d000
close(3) = 0
open("/usr/lib/librpmdb-4.2.so", 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\340\213"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=896092, ...}) = 0
old_mmap(0x5f0000, 907360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x23498000
old_mmap(0x23570000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd7000) = 0x23570000
old_mmap(0x23574000, 6240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x23574000
close(3) = 0
open("/usr/lib/libelf.so.1", 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\374\273"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63908, ...}) = 0
old_mmap(0x93a000, 65392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x23576000
old_mmap(0x23585000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0x23585000
close(3) = 0
open("/usr/lib/librpmio-4.2.so", 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\20a[\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=214008, ...}) = 0
old_mmap(0x5b0000, 251652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x23586000
old_mmap(0x235b8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31000) = 0x235b8000
old_mmap(0x235bb000, 34564, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x235bb000
close(3) = 0
open("/usr/lib/libbeecrypt.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\0P\374\275"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=118520, ...}) = 0
old_mmap(0xbdb000, 120200, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x235c4000
old_mmap(0x235df000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 0x235df000
close(3) = 0
mprotect(0x5dcb1000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = -1 EINVAL (Invalid argument)
mprotect(0x5dcaa000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0x5dcae000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0x5dcb0000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied)
writev(2, [{"apt-get", 7}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libbeecrypt.so.6", 16}, {": ", 2}, {"cannot enable executable stack a"..., 56}, {": ", 2}, {"Permission denied", 17}, {"\n", 1}], 10apt-get: error while loading shared libraries: libbeecrypt.so.6: cannot enable executable stack as shared object requires: Permission denied
) = 141
exit_group(127) = ?