Home
last modified time | relevance | path

Searched refs:permissions (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/openbsd/gnu/llvm/lldb/include/lldb/Target/
H A DMemoryRegionInfo.h83 uint32_t permissions = 0; in GetLLDBPermissions() local
85 permissions |= lldb::ePermissionsReadable; in GetLLDBPermissions()
87 permissions |= lldb::ePermissionsWritable; in GetLLDBPermissions()
89 permissions |= lldb::ePermissionsExecutable; in GetLLDBPermissions()
90 return permissions; in GetLLDBPermissions()
95 void SetLLDBPermissions(uint32_t permissions) { in SetLLDBPermissions() argument
96 m_read = (permissions & lldb::ePermissionsReadable) ? eYes : eNo; in SetLLDBPermissions()
97 m_write = (permissions & lldb::ePermissionsWritable) ? eYes : eNo; in SetLLDBPermissions()
98 m_execute = (permissions & lldb::ePermissionsExecutable) ? eYes : eNo; in SetLLDBPermissions()
H A DMemory.h70 AllocatedBlock(lldb::addr_t addr, uint32_t byte_size, uint32_t permissions,
121 lldb::addr_t AllocateMemory(size_t byte_size, uint32_t permissions,
129 AllocatedBlockSP AllocatePage(uint32_t byte_size, uint32_t permissions,
/openbsd/gnu/llvm/lldb/source/Host/common/
H A DFileSystem.cpp428 static mode_t GetOpenMode(uint32_t permissions) { in GetOpenMode() argument
430 if (permissions & lldb::eFilePermissionsUserRead) in GetOpenMode()
432 if (permissions & lldb::eFilePermissionsUserWrite) in GetOpenMode()
434 if (permissions & lldb::eFilePermissionsUserExecute) in GetOpenMode()
436 if (permissions & lldb::eFilePermissionsGroupRead) in GetOpenMode()
438 if (permissions & lldb::eFilePermissionsGroupWrite) in GetOpenMode()
440 if (permissions & lldb::eFilePermissionsGroupExecute) in GetOpenMode()
442 if (permissions & lldb::eFilePermissionsWorldRead) in GetOpenMode()
444 if (permissions & lldb::eFilePermissionsWorldWrite) in GetOpenMode()
446 if (permissions & lldb::eFilePermissionsWorldExecute) in GetOpenMode()
[all …]
/openbsd/gnu/llvm/lldb/source/Target/
H A DMemory.cpp254 uint32_t permissions, uint32_t chunk_size) in AllocatedBlock() argument
255 : m_range(addr, byte_size), m_permissions(permissions), in AllocatedBlock()
346 AllocatedMemoryCache::AllocatePage(uint32_t byte_size, uint32_t permissions, in AllocatePage() argument
353 addr_t addr = m_process.DoAllocateMemory(page_byte_size, permissions, error); in AllocatePage()
360 (uint32_t)page_byte_size, GetPermissionsAsCString(permissions), in AllocatePage()
366 permissions, chunk_size); in AllocatePage()
367 m_memory_map.insert(std::make_pair(permissions, block_sp)); in AllocatePage()
373 uint32_t permissions, in AllocateMemory() argument
379 range = m_memory_map.equal_range(permissions); in AllocateMemory()
389 AllocatedBlockSP block_sp(AllocatePage(byte_size, permissions, 16, error)); in AllocateMemory()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/OpenBSD-Unveil/t/
H A DOpenBSD-Unveil.t37 "Usage: OpenBSD::Unveil::unveil([path, permissions]) $at",
47 "Usage: OpenBSD::Unveil::unveil([path, permissions]) $at",
138 "Unable to unveil with incorrect permissions";
144 "Unable to unveil with incorrect permissions";
148 xsunveil_ok "Try to increase permissions" => sub {
153 "Unable to increase permissions on /dev/null";
/openbsd/gnu/usr.bin/perl/cpan/OpenBSD-Unveil/
H A DUnveil.xs29 _unveil(const char * path = NULL, const char * permissions = NULL)
31 RETVAL = unveil(path, permissions) != -1;
/openbsd/gnu/llvm/lldb/include/lldb/Breakpoint/
H A DBreakpointName.h147 const Permissions &permissions = Permissions(),
150 m_permissions(permissions) { in m_name()
172 void SetPermissions(const Permissions &permissions) { in SetPermissions() argument
173 m_permissions = permissions; in SetPermissions()
/openbsd/gnu/llvm/lldb/source/Core/
H A DSection.cpp355 uint32_t permissions = 0; in GetPermissions() local
357 permissions |= ePermissionsReadable; in GetPermissions()
359 permissions |= ePermissionsWritable; in GetPermissions()
361 permissions |= ePermissionsExecutable; in GetPermissions()
362 return permissions; in GetPermissions()
366 void Section::SetPermissions(uint32_t permissions) { in SetPermissions() argument
367 m_readable = (permissions & ePermissionsReadable) != 0; in SetPermissions()
368 m_writable = (permissions & ePermissionsWritable) != 0; in SetPermissions()
369 m_executable = (permissions & ePermissionsExecutable) != 0; in SetPermissions()
H A DStreamFile.cpp34 uint32_t permissions) in StreamFile() argument
36 auto file = FileSystem::Instance().Open(FileSpec(path), options, permissions); in StreamFile()
/openbsd/gnu/llvm/lldb/source/Utility/
H A DState.cpp44 const char *lldb_private::GetPermissionsAsCString(uint32_t permissions) { in GetPermissionsAsCString() argument
45 switch (permissions) { in GetPermissionsAsCString()
/openbsd/gnu/llvm/libcxx/include/__filesystem/
H A Dfile_status.h52 perms permissions() const noexcept { return __prms_; } in permissions() function
59 void permissions(perms __p) noexcept { __prms_ = __p; } in permissions() function
/openbsd/gnu/llvm/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp213 uint32_t permissions = section->GetPermissions(); in CreateMemoryRegions() local
214 if (permissions == 0) in CreateMemoryRegions()
215 permissions = lldb::ePermissionsReadable | lldb::ePermissionsExecutable; in CreateMemoryRegions()
217 section_vm_addr, section->GetByteSize(), permissions)); in CreateMemoryRegions()
625 const Flags permissions(permission_entry->data); in DoGetMemoryRegionInfo() local
626 region_info.SetReadable(permissions.Test(ePermissionsReadable) in DoGetMemoryRegionInfo()
629 region_info.SetWritable(permissions.Test(ePermissionsWritable) in DoGetMemoryRegionInfo()
632 region_info.SetExecutable(permissions.Test(ePermissionsExecutable) in DoGetMemoryRegionInfo()
/openbsd/gnu/llvm/lldb/source/API/
H A DSBMemoryRegionInfo.cpp27 lldb::addr_t end, uint32_t permissions, in SBMemoryRegionInfo() argument
30 LLDB_INSTRUMENT_VA(this, name, begin, end, permissions, mapped, stack_memory); in SBMemoryRegionInfo()
34 m_opaque_up->SetLLDBPermissions(permissions); in SBMemoryRegionInfo()
H A DSBPlatform.cpp511 uint32_t permissions = FileSystem::Instance().GetPermissions(src.ref()); in Put() local
512 if (permissions == 0) { in Put()
514 permissions = eFilePermissionsDirectoryDefault; in Put()
516 permissions = eFilePermissionsFileDefault; in Put()
519 return platform_sp->PutFile(src.ref(), dst.ref(), permissions); in Put()
/openbsd/gnu/llvm/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp217 uint32_t permissions = 0; in GetFile() local
218 error = GetFilePermissions(source, permissions); in GetFile()
220 if (permissions == 0) in GetFile()
221 permissions = lldb::eFilePermissionsFileDefault; in GetFile()
226 permissions, error); in GetFile()
716 uint32_t permissions = ePermissionsReadable|ePermissionsWritable; in DoLoadImage() local
719 permissions, in DoLoadImage()
746 permissions, in DoLoadImage()
795 permissions, in DoLoadImage()
824 permissions, in DoLoadImage()
/openbsd/gnu/llvm/lldb/source/Expression/
H A DIRMemoryMap.cpp272 uint32_t permissions, uint8_t alignment, in Allocation() argument
275 m_size(size), m_policy(policy), m_leak(false), m_permissions(permissions), in Allocation()
290 uint32_t permissions, AllocationPolicy policy, in Malloc() argument
339 process_sp->AllocateMemory(allocation_size, permissions, error); in Malloc()
342 process_sp->CallocateMemory(allocation_size, permissions, error); in Malloc()
366 process_sp->AllocateMemory(allocation_size, permissions, error); in Malloc()
369 process_sp->CallocateMemory(allocation_size, permissions, error); in Malloc()
394 allocation_size, permissions, alignment, policy)); in Malloc()
424 (uint64_t)permissions, policy_string, aligned_address); in Malloc()
/openbsd/regress/gnu/usr.bin/perl/
H A DMakefile13 REGRESS_SETUP += permissions
14 permissions: target
/openbsd/gnu/usr.bin/cvs/doc/
H A Dcvs.info-9221 * CVSUMASK, environment variable: File permissions.
283 * File permissions, general: File permissions.
284 * File permissions, Windows-specific: Windows permissions.
297 * Group: File permissions.
329 * Installed images (VMS): File permissions.
439 * Permissions, general: File permissions.
463 * Read-only files, in repository: File permissions.
525 * Security, file permissions in repository: File permissions.
529 * Security, setuid: File permissions.
532 * Setgid: File permissions.
[all …]
/openbsd/gnu/llvm/lldb/source/Commands/
H A DCommandObjectPlatform.cpp34 if (permissions.size() != 9) in ParsePermissionString()
39 user_r = (permissions[0] == 'r'); in ParsePermissionString()
40 user_w = (permissions[1] == 'w'); in ParsePermissionString()
41 user_x = (permissions[2] == 'x'); in ParsePermissionString()
43 group_r = (permissions[3] == 'r'); in ParsePermissionString()
44 group_w = (permissions[4] == 'w'); in ParsePermissionString()
45 group_x = (permissions[5] == 'x'); in ParsePermissionString()
47 world_r = (permissions[6] == 'r'); in ParsePermissionString()
48 world_w = (permissions[7] == 'w'); in ParsePermissionString()
49 world_x = (permissions[8] == 'x'); in ParsePermissionString()
[all …]
/openbsd/gnu/llvm/lldb/include/lldb/Expression/
H A DIRMemoryMap.h53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
107 size_t size, uint32_t permissions, uint8_t alignment,
/openbsd/gnu/llvm/lldb/include/lldb/Utility/
H A DState.h63 const char *GetPermissionsAsCString(uint32_t permissions);
/openbsd/gnu/llvm/llvm/lib/Support/
H A DFileUtilities.cpp336 Status.permissions(static_cast<sys::fs::perms>(0777)); in create()
348 Status.permissions(*OverwritePermissions); in apply()
376 sys::fs::perms Perm = Status.permissions(); in apply()
/openbsd/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/intelpt/
H A Dintelpt_testcase.py39 with open("/proc/sys/kernel/perf_event_paranoid", "r") as permissions:
40 value = int(permissions.readlines()[0])
/openbsd/gnu/llvm/llvm/docs/AMDGPU/
H A Dgfx90a_probe.rst13 A bit mask which indicates request permissions.
H A Dgfx9_probe.rst13 A bit mask which indicates request permissions.

12345678910>>...12