On Thu, Apr 07, 2011 at 10:29:54AM +0200, Andreas Schwab wrote: > Geert Uytterhoeven <ge...@linux-m68k.org> writes: > > > Isn't there a reason it was read-write on m68k, like the table may be > > changed > > at runtime (to install rootkits :-)? Have to check what the other arches > > do... > > Initially the syscall_table in Linux has always been writable, bb152f53 > ("x86/x86_64: mark rodata section read-only: make some datastructures > const") made it read-only on x86. Apparently nobody bothered to do the > equivalent change on m68k (I don't think anything makes the kernel text > segment write protected anyway).
Except, of course, ld config files who put text and rodata in ROM/FLASH for XIP on embedded systems. Philippe _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev