Home | History | Annotate | Download | only in debug

Lines Matching refs:permissions

116     char permissions[5] = {'\0'};  // Ensure NUL-terminated string.
131 &region.start, &region.end, permissions, &region.offset,
137 region.permissions = 0;
139 if (permissions[0] == 'r')
140 region.permissions |= MappedMemoryRegion::READ;
141 else if (permissions[0] != '-')
144 if (permissions[1] == 'w')
145 region.permissions |= MappedMemoryRegion::WRITE;
146 else if (permissions[1] != '-')
149 if (permissions[2] == 'x')
150 region.permissions |= MappedMemoryRegion::EXECUTE;
151 else if (permissions[2] != '-')
154 if (permissions[3] == 'p')
155 region.permissions |= MappedMemoryRegion::PRIVATE;
156 else if (permissions[3] != 's' && permissions[3] != 'S') // Shared memory.