PF_W
stack_flags = PF_R | PF_W;
if (elfflags & PF_W)
if (!(elfflags & PF_W))
if ((phdrs[i].p_flags & (PF_W|PF_X)) && (sum > kernsize))
if (php->p_flags & (PF_W|PF_X)) {
(phdr[i].p_flags & (PF_W | PF_X)) == 0)
(p[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
(p[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
if (nphdr == 1 && (get_uint32(&phdr[0].p_flags) & PF_W)) {
if ((get_uint32(&phdr[d].p_flags) & PF_W) == 0 &&
get_uint32(&phdr[t].p_flags) & PF_W)
if ((get_uint32(&phdr[d].p_flags) & PF_W) == 0)
(phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
#define IS_DATA(p) (p.p_flags & PF_W)
(phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
(phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
phdr.p_flags |= PF_W;
vmprot |= (ph->p_flags & PF_W) ? VM_PROT_WRITE : 0;
if ((ph->p_flags & PF_W) != 0) {
ksyms_hdr.kh_phdr[0].p_flags = PF_R | PF_X | PF_W;
(phdr[i].p_flags & (PF_W|PF_R|PF_X)) == 0)
if (ph[i].p_flags & PF_W) {
if (ph[i].p_flags & PF_W) {
#define IS_DATA(p) (p.p_flags & PF_W)