question about Make CONFIG_STRICT_MEMORY_RWX even stricter patch
Wang, Yalin
Yalin.Wang at sonymobile.com
Tue Oct 29 02:58:46 EDT 2013
Hi
I see ,
__patch_text( ) this function has been changed to make sure
The text section can be writable .
Thanks
-----Original Message-----
From: Wang, Yalin
Sent: Tuesday, October 29, 2013 1:50 PM
To: 'lbassel at codeaurora.org'
Cc: 'linux-arm-msm-owner at vger.kernel.org'; linux-arm-msm at vger.kernel.org; linux-arm-kernel at lists.infradead.org; Peng, Arthur; Zhang, Bojie
Subject: question about Make CONFIG_STRICT_MEMORY_RWX even stricter patch
Hi ,
We will cherry-pick this patch :
http://cgit.sonyericsson.net/cgit.cgi/kernel/msm.git/commit/?id=2504e77ddedfa34dbd64e757a14e5b21a613c000
for security reason ,
but I have a question about this patch , this patch will make .text section permission become RX but not writable , so some features like kprobe / jump_label may can't work correct, these features will change code during runtime , so it will result in page fault if it write .text section .
Thanks
Yalin.Wang
Software Engineer
OS Kernel&Graphics
Sony Mobile Communications
Tel: +86 10 5966 9819
Phone: 18610323092
Address: No.16 Guangshun South Street, Chaoyang, Beijing, P.R.C.
sonymobile.com
More information about the linux-arm-kernel
mailing list