PR_GET_MDWE
(2const)get the Memory-Deny-Write-Execute protection mask for the calling process
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_GET_MDWE, 0L, 0L, 0L, 0L);
get the Memory-Deny-Write-Execute protection mask for the calling process