What does SEGV_ACCERR mean?

后端 未结 4 942
有刺的猬
有刺的猬 2020-12-30 22:35

I am examining a few crashes that all have the signal SIGSEGV with the reason SEGV_ACCERR. After searching for SEGV_ACCERR, the closest thing I have found to a human readabl

4条回答
  •  感动是毒
    2020-12-30 23:17

    As stated in the man page of sigaction, SEGV_ACCERR is a signal code for SIGSEGV that specifies Invalid permissions for mapped object. Contrary to SEGV_MAPERR which means that the address is not mapped to a valid object, SEGV_ACCERR means the address matches an object, but for sure it is neither the good one, nor one the process is allowed to access.

提交回复
热议问题