athcool and grsec
Posted: Wed Feb 08, 2006 2:37 am
Hello,
i try to activate powersaving on my duron, but grsec seems to break something on athcool binary (result of 'sudo strace /usr/sbin/athcool on') :
i try to activate powersaving on my duron, but grsec seems to break something on athcool binary (result of 'sudo strace /usr/sbin/athcool on') :
- Code: Select all
execve("/usr/sbin/athcool", ["/usr/sbin/athcool", "on"], [/* 8 vars */]) = 0
uname({sys="Linux", node="cortex", ...}) = 0
brk(0) = 0x8056520
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13475, ...}) = 0
old_mmap(NULL, 13475, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fd1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpci.so.2", 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\200\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=27632, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd0000
old_mmap(NULL, 30692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7fc8000
old_mmap(0xb7fcf000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0xb7fcf000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/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\300O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1265136, ...}) = 0
old_mmap(NULL, 1275196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e90000
old_mmap(0xb7fc1000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x130000) = 0xb7fc1000
old_mmap(0xb7fc5000, 9532, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fc5000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e8f000
mprotect(0xb7fc1000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e8f6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fd1000, 13475) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd4000
write(1, "athcool version 0.3.11 - control"..., 76) = 76
write(1, "\n", 1) = 1
write(1, "!!!WARNING!!!\n", 14) = 14
write(1, "Depending on your motherboard an"..., 59) = 59
write(1, "enabling Athlon powersaving mode"..., 44) = 44
write(1, " * noisy or distorted sound play"..., 37) = 37
write(1, " * a slowdown in harddisk perfor"..., 38) = 38
write(1, " * system locks or instability\n", 31) = 31
write(1, " * massive filesystem corruption"..., 68) = 68
write(1, "\n", 1) = 1
write(1, "Before use athcool, you must rec"..., 64) = 64
write(1, "Please use athcool AT YOUR OWN R"..., 37) = 37
write(1, "\n", 1) = 1
write(1, "athcool is supplied \"as is\". The"..., 66) = 66
write(1, "expressed or implied. The author"..., 62) = 62
write(1, "no liability for damages, direct"..., 62) = 62
write(1, "result from the use of athcool.\n", 32) = 32
write(1, "\n", 1) = 1
iopl(0x3) = -1 EPERM (Operation not permitted)
write(1, "/usr/sbin/athcool : must run as "..., 43) = 43
munmap(0xb7fd4000, 4096) = 0
exit_group(1) = ?