Home
last modified time | relevance | path

Searched refs:MAYBE_MAP_FLAG (Results 1 – 1 of 1) sorted by relevance

/bionic/linker/
Dlinker_phdr.cpp137 #define MAYBE_MAP_FLAG(x, from, to) (((x) & (from)) ? (to) : 0) macro
138 #define PFLAGS_TO_PROT(x) (MAYBE_MAP_FLAG((x), PF_X, PROT_EXEC) | \
139 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \
140 MAYBE_MAP_FLAG((x), PF_W, PROT_WRITE))