Home | History | Annotate | Download | only in unix

Lines Matching refs:Protection

155 static inline int accessModeMMap(SharedMemory::Protection protection)
157 switch (protection) {
168 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection)
172 void* data = mmap(0, handle.m_size, accessModeMMap(protection), MAP_SHARED, handle.m_fileDescriptor, 0);
190 static inline int accessModeFile(SharedMemory::Protection protection)
192 switch (protection) {
203 bool SharedMemory::createHandle(Handle& handle, Protection protection)
216 while ((fcntl(duplicatedHandle, F_SETFD, FD_CLOEXEC | accessModeFile(protection)) == -1)) {