On Fri, 2005-11-11 at 14:04 -0500, Coywolf Qi Hunt wrote: > On Sat, Nov 12, 2005 at 02:57:02AM +0800, Coywolf Qi Hunt wrote: > > And we could also mark text section read-only and data/stack section > > noexec if NX is supported. But I doubt the whole thing would really > > help much. Kill the kernel thread? We can't. We only run into a panic. > > Anyway I'd attach a quick patch to mark text section read only in the > > next mail. > > > > If it's ok, I'd add Kconfig support. Comments? > change_page_attr() is only available on x86 and x86-64 so it needs to be in arch/ somewhere... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [patch 01/02] Debug option to write-protect rodata: change_page_attr fixes
- From: [email protected]
- [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: [email protected]
- Re: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: Josh Boyer <[email protected]>
- Re: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: Arjan van de Ven <[email protected]>
- Re: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: Coywolf Qi Hunt <[email protected]>
- Re: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: Arjan van de Ven <[email protected]>
- Re: [patch 02/02] Debug option to write-protect rodata: the write protect logic and config option
- From: Coywolf Qi Hunt <[email protected]>
- [patch] mark text section read-only
- From: Coywolf Qi Hunt <[email protected]>
- [patch 01/02] Debug option to write-protect rodata: change_page_attr fixes
- Prev by Date: Re: sparc64: Oops in pci_alloc_consistent with cingergyT2
- Next by Date: Re: truncate_inode_pages_range patch to mainline ?
- Previous by thread: [patch] mark text section read-only
- Next by thread: Re: [patch] mark text section read-only
- Index(es):