**** BEGIN LOGGING AT Sat Jul 16 02:59:57 2011 Jul 16 18:42:51 Hello, everyone! I have a problem. Arch - armv4l (str8132). I have sources, but can't rewrite kernel into flash, because as I found out, that kernel is not compatible at all. Well, I need to hook one syscall. I have found sys_call_table address, but that table is ro only. How can I change attributes of this kernel section from module? Kernel version is Linux NAS 2.6.16-star #812 Mon Nov 17 15:27:34 CST 2008 armv4l GNU/Linux Jul 16 19:15:34 slava__: hello Jul 16 19:16:02 Marex, Hello! Jul 16 19:16:28 holy crap Jul 16 19:16:36 slava__: just what exactly do you need to do ? Jul 16 19:18:09 I need to hook one syscall for whole system through module. The problem is that sys_call_table is in read-only section and I need to change this permission somehow. Jul 16 19:19:17 slava__: why ? what's the real goal of yours ? what syscall, for what reason ? Jul 16 19:19:32 I've already searched examples of hooking, they advise me to use change_page_attr, but there is no change_page_attr function in this kernel. Is there some replacement for it? Jul 16 19:20:44 because my kernel in ARM device perform fstatat64 syscall wrong, and I want to write my own implementation. Jul 16 19:22:14 fstatat64 ALWAYS returns "Network is down" error, though, network works properly. Jul 16 19:27:26 Marex, may be I think radically, but I don't see any other way.. Jul 16 20:11:56 slava__: if it's your own app, just do it ... Jul 16 20:13:28 Marex, I don't know to get writable access to sys_call_table, that's why I'm asking... Jul 16 20:13:39 slava__: btw why not write into linux-arm mailing list ? Jul 16 20:15:09 Marex, sorry, but I don't know how. Can you explane, please? **** ENDING LOGGING AT Sun Jul 17 02:59:57 2011