libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH] arm: Expand memory validation


From: 임근식
Subject: Re: [Libunwind-devel] [PATCH] arm: Expand memory validation
Date: Mon, 28 Mar 2016 04:44:24 +0000 (GMT)

> Prevent SIGSEGV for write as well as read.

Actually, we need to apply the below patch to validate memory before memory access to prevent a SIGSEGV.

Acked-by: Geunsik Lim < address@hidden >

 

BRs,

Geunsik Lim.

 

------- Original Message -------

Sender : MyungJoo Ham<address@hidden> S6/Principal Engineer/Developer Experience Lab./Samsung Electronics

Date : 2016-03-28 13:38 (GMT+09:00)

Title : Re: [PATCH] arm: Expand memory validation

 

>  
>  Prevent SIGSEGV for write as well as read.
>
> Signed-off-by: MyungJoo Ham
> ---
>  src/arm/Ginit.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Please note that this issue is often observed with
dotnet/coreclr project:
https://github.com/dotnet/coreclr/blob/master/Documentation/building/linux-instructions.md#build-for-armlinux

And a fork of libunwind has been doing similar things:
https://android.googlesource.com/platform/external/libunwind/+/master/src/arm/Ginit.c
(map_local_is_writable())


Cheers,
MyungJoo

 

 

 

 

- 임근식 드림.

 

---------------------------------------------------------------  
Geunsik Lim, Developer Experience Lab., Software R/D Center, Samsung Electronics
Seould R&D Campus, 56, Seongchon-gil, Seocho-gu, Seoul, Korea

M: +82-10-3071-5450   WEBSITE: http://leemgs.fedorapeople.org

If you continue to keep a dream, you come to realize. - Goethe
---------------------------------------------------------------

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]