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: 'lbas...@codeaurora.org'
Cc: 'linux-arm-msm-ow...@vger.kernel.org'; linux-arm-msm@vger.kernel.org; 
linux-arm-ker...@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
  
 



--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to