Searched refs:protection (Results 1 - 25 of 91) sorted by relevance

1234

/macosx-10.9.5/WebKit2-7537.78.2/Platform/unix/
H A DSharedMemoryUnix.cpp141 static inline int accessModeMMap(SharedMemory::Protection protection) argument
143 switch (protection) {
154 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument
158 void* data = mmap(0, handle.m_size, accessModeMMap(protection), MAP_SHARED, handle.m_fileDescriptor, 0);
176 static inline int accessModeFile(SharedMemory::Protection protection) argument
178 switch (protection) {
189 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument
202 while ((fcntl(duplicatedHandle, F_SETFD, FD_CLOEXEC | accessModeFile(protection)) == -1)) {
/macosx-10.9.5/xnu-2422.115.4/osfmk/mach/
H A Dvm_region.h76 vm_prot_t protection; member in struct:vm_region_basic_info_64
104 vm_prot_t protection; member in struct:vm_region_basic_info
140 vm_prot_t protection; member in struct:vm_region_extended_info__legacy
167 vm_prot_t protection; member in struct:vm_region_extended_info
228 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_info
255 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_info_64
295 vm_prot_t protection; /* present access protection */ member in struct:vm_region_submap_short_info_64
[all...]
H A Dshared_memory_server.h97 vm_prot_t protection; /* read/write/execute/COW/ZF */ member in struct:sf_mapping
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/netware/
H A Dfilestat.c62 finfo->protection = apr_unix_mode2perms(info->st_mode);
163 finfo.protection &= ~APR_UWRITE;
164 finfo.protection &= ~APR_GWRITE;
165 finfo.protection &= ~APR_WWRITE;
170 finfo.protection |= APR_UWRITE;
171 finfo.protection |= APR_GWRITE;
172 finfo.protection |= APR_WWRITE;
181 finfo.protection |= APR_UEXECUTE;
182 finfo.protection |= APR_GEXECUTE;
183 finfo.protection |
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dfilestat.c75 finfo->protection = apr_unix_mode2perms(info->st_mode);
206 finfo.protection &= ~APR_UWRITE;
207 finfo.protection &= ~APR_GWRITE;
208 finfo.protection &= ~APR_WWRITE;
213 finfo.protection |= APR_UWRITE;
214 finfo.protection |= APR_GWRITE;
215 finfo.protection |= APR_WWRITE;
224 finfo.protection |= APR_UEXECUTE;
225 finfo.protection |= APR_GEXECUTE;
226 finfo.protection |
[all...]
H A Dcopy.c43 perms = finfo.protection;
/macosx-10.9.5/apr-30/apr/apr/file_io/netware/
H A Dfilestat.c62 finfo->protection = apr_unix_mode2perms(info->st_mode);
163 finfo.protection &= ~APR_UWRITE;
164 finfo.protection &= ~APR_GWRITE;
165 finfo.protection &= ~APR_WWRITE;
170 finfo.protection |= APR_UWRITE;
171 finfo.protection |= APR_GWRITE;
172 finfo.protection |= APR_WWRITE;
181 finfo.protection |= APR_UEXECUTE;
182 finfo.protection |= APR_GEXECUTE;
183 finfo.protection |
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/unix/
H A Dfilestat.c79 finfo->protection = apr_unix_mode2perms(info->st_mode);
211 finfo.protection &= ~APR_UWRITE;
212 finfo.protection &= ~APR_GWRITE;
213 finfo.protection &= ~APR_WWRITE;
218 finfo.protection |= APR_UWRITE;
219 finfo.protection |= APR_GWRITE;
220 finfo.protection |= APR_WWRITE;
229 finfo.protection |= APR_UEXECUTE;
230 finfo.protection |= APR_GEXECUTE;
231 finfo.protection |
[all...]
H A Dcopy.c43 perms = finfo.protection;
/macosx-10.9.5/WebKit2-7537.78.2/Shared/
H A DShareableBitmap.cpp92 PassRefPtr<ShareableBitmap> ShareableBitmap::create(const Handle& handle, SharedMemory::Protection protection) argument
95 RefPtr<SharedMemory> sharedMemory = SharedMemory::create(handle.m_handle, protection);
102 bool ShareableBitmap::createHandle(Handle& handle, SharedMemory::Protection protection) argument
106 if (!m_sharedMemory->createHandle(handle.m_handle, protection))
/macosx-10.9.5/WebKit2-7537.78.2/Platform/win/
H A DSharedMemoryWin.cpp133 static DWORD accessRights(SharedMemory::Protection protection) argument
135 switch (protection) {
146 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument
148 RefPtr<SharedMemory> memory = adopt(handle.m_handle, handle.m_size, protection);
158 PassRefPtr<SharedMemory> SharedMemory::adopt(HANDLE handle, size_t size, Protection protection) argument
163 DWORD desiredAccess = accessRights(protection);
187 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument
195 if (!::DuplicateHandle(processHandle, m_handle, processHandle, &duplicatedHandle, accessRights(protection), FALSE, 0))
/macosx-10.9.5/WebKit2-7537.78.2/Platform/mac/
H A DSharedMemoryMac.cpp143 static inline vm_prot_t machProtection(SharedMemory::Protection protection) argument
145 switch (protection) {
156 PassRefPtr<SharedMemory> SharedMemory::create(const Handle& handle, Protection protection) argument
164 vm_prot_t vmProtection = machProtection(protection);
192 bool SharedMemory::createHandle(Handle& handle, Protection protection) argument
202 if (protection == ReadWrite && m_port) {
209 kern_return_t kr = mach_make_memory_entry_64(mach_task_self(), &size, address, machProtection(protection), &port, MACH_PORT_NULL);
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/win32/
H A Dfilestat.c78 * the given behavior. They are -not- recommended for any set protection
115 finfo->protection |= convert_prot(acc, prot_scope_user);
128 finfo->protection |= convert_prot(acc, prot_scope_group);
136 finfo->protection |= convert_prot(acc, prot_scope_world);
199 if (finfo->protection & APR_FREADONLY) {
200 finfo->protection |= APR_WREAD | APR_WEXECUTE;
203 finfo->protection |= APR_WREAD | APR_WEXECUTE | APR_WWRITE;
205 finfo->protection |= (finfo->protection << prot_scope_group)
206 | (finfo->protection << prot_scope_use
[all...]
/macosx-10.9.5/apr-30/apr/apr/file_io/win32/
H A Dfilestat.c78 * the given behavior. They are -not- recommended for any set protection
115 finfo->protection |= convert_prot(acc, prot_scope_user);
128 finfo->protection |= convert_prot(acc, prot_scope_group);
136 finfo->protection |= convert_prot(acc, prot_scope_world);
199 if (finfo->protection & APR_FREADONLY) {
200 finfo->protection |= APR_WREAD | APR_WEXECUTE;
203 finfo->protection |= APR_WREAD | APR_WEXECUTE | APR_WWRITE;
205 finfo->protection |= (finfo->protection << prot_scope_group)
206 | (finfo->protection << prot_scope_use
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/tests/
H A Dinfo.test78 info function ?name? ?-protection? ?-type? ?-name? ?-args? ?-body?
81 info variable ?name? ?-protection? ?-type? ?-name? ?-init? ?-value? ?-config?
91 info function ?name? ?-protection? ?-type? ?-name? ?-args? ?-body?
94 info variable ?name? ?-protection? ?-type? ?-name? ?-init? ?-value? ?-config?
113 list [ti info variable pubv -protection] \
126 list [ti info variable prov -protection] \
138 list [ti info variable priv -protection] \
166 list [ti info variable pubc -protection] \
178 list [ti info variable proc -protection] \
190 list [ti info variable pric -protection] \
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Support/Windows/
H A DMemory.inc24 // Contrary to what you might expect, the Windows page protection flags
42 llvm_unreachable("Illegal memory protection flag specified!");
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/os2/
H A Dfilestat.c28 finfo->protection = (fstatus->attrFile & FILE_READONLY) ? 0x555 : 0x777;
123 finfo->protection = 0;
140 finfo->protection = 0;
164 finfo->protection = 0666;
/macosx-10.9.5/apr-30/apr/apr/file_io/os2/
H A Dfilestat.c28 finfo->protection = (fstatus->attrFile & FILE_READONLY) ? 0x555 : 0x777;
123 finfo->protection = 0;
140 finfo->protection = 0;
164 finfo->protection = 0666;
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/read-only-stubs/
H A Dmain.c54 //fprintf(stderr, "result=%X, info.protection=%X\n", result, info.protection);
56 return info.protection;
H A Dfoo.c55 return info.protection;
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/text-relocs-perms/
H A Dfoo.c54 return info.protection;
H A Dmain.c54 //fprintf(stderr, "result=%X, info.protection=%X\n", result, info.protection);
56 return info.protection;
/macosx-10.9.5/dyld-239.4/src/
H A DImageLoaderMachO.cpp1177 // if there were __TEXT fixups, restore write protection
1887 int protection = 0; local
1893 protection |= PROT_EXEC;
1895 protection |= PROT_READ;
1897 protection |= PROT_WRITE;
1902 protection |= PROT_WRITE;
1910 void* loadAddress = xmmap((void*)requestedLoadAddress, size, protection, MAP_FIXED | MAP_PRIVATE, fd, fileOffset);
1921 (protection & PROT_READ) ? 'r' : '.', (protection & PROT_WRITE) ? 'w' : '.', (protection
1956 vm_prot_t protection = 0; local
1984 vm_prot_t protection = VM_PROT_WRITE | VM_PROT_READ; local
[all...]
/macosx-10.9.5/vim-53/runtime/compiler/
H A Ddecada.vim14 " 08.09.2006 MK Correct double load protection.
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/
H A Dpmap.h388 #define PMAP_ENTER(pmap, virtual_address, page, protection, fault_type, flags, wired) \
404 (protection), \
414 #define PMAP_ENTER_OPTIONS(pmap, virtual_address, page, protection, \
431 (protection), \

Completed in 693 milliseconds

1234