/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/crashpad/crashpad/util/win/ |
H A D | registration_protocol_win_test.cc | 109 const void* sec_desc = GetSecurityDescriptorForNamedPipeInstance(nullptr); in TEST() local 115 const_cast<void*>(sec_desc), &acl_present, &acl, &acl_defaulted)); in TEST() 128 const_cast<void*>(sec_desc), &acl_present, &acl, &acl_defaulted)); in TEST() 141 PSECURITY_DESCRIPTOR sec_desc; in TEST() local 144 kSddl, SDDL_REVISION_1, &sec_desc, &sec_desc_len)) in TEST() 146 ScopedLocalAlloc sec_desc_owner(sec_desc); in TEST() 152 EXPECT_EQ(memcmp(sec_desc, created, sec_desc_len), 0); in TEST()
|
H A D | registration_protocol_win.cc | 260 static void* sec_desc = GetSecurityDescriptorWithUser( in GetSecurityDescriptorForNamedPipeInstance() local 263 if (!sec_desc) in GetSecurityDescriptorForNamedPipeInstance() 268 return sec_desc; in GetSecurityDescriptorForNamedPipeInstance()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/crashpad/crashpad/util/win/ |
H A D | registration_protocol_win_test.cc | 110 const void* sec_desc = GetSecurityDescriptorForNamedPipeInstance(nullptr); in TEST() local 116 const_cast<void*>(sec_desc), &acl_present, &acl, &acl_defaulted)); in TEST() 129 const_cast<void*>(sec_desc), &acl_present, &acl, &acl_defaulted)); in TEST() 142 PSECURITY_DESCRIPTOR sec_desc; in TEST() local 145 kSddl, SDDL_REVISION_1, &sec_desc, &sec_desc_len)) in TEST() 147 ScopedLocalAlloc sec_desc_owner(sec_desc); in TEST() 153 EXPECT_EQ(memcmp(sec_desc, created, sec_desc_len), 0); in TEST()
|
H A D | registration_protocol_win.cc | 259 static void* sec_desc = GetSecurityDescriptorWithUser( in GetSecurityDescriptorForNamedPipeInstance() local 262 if (!sec_desc) in GetSecurityDescriptorForNamedPipeInstance() 267 return sec_desc; in GetSecurityDescriptorForNamedPipeInstance()
|
/dports/net/samba412/samba-4.12.15/source3/registry/ |
H A D | regfio.c | 765 sk->sec_desc, in hbin_prs_sk_rec() 778 &sk->sec_desc); in hbin_prs_sk_rec() 1081 nk->sec_desc->sk_off = nk->sk_off; in hbin_prs_key() 1836 if ( sec_desc ) { in regfio_write_key() 1842 if ( (nk->sec_desc = find_sk_record_by_sec_desc( file, sec_desc )) == NULL ) { in regfio_write_key() 1861 nk->sec_desc->sec_desc = sec_desc; in regfio_write_key() 1862 nk->sec_desc->ref_count = 0; in regfio_write_key() 1865 nk->sec_desc->size = ndr_size_security_descriptor(sec_desc, 0) in regfio_write_key() 1886 nk->sec_desc->prev_sk_off = nk->sec_desc->sk_off; in regfio_write_key() 1887 nk->sec_desc->next_sk_off = nk->sec_desc->sk_off; in regfio_write_key() [all …]
|
H A D | reg_dispatcher.c | 168 struct security_descriptor *sec_desc; in regkey_access_check() local 186 err = regkey_get_secdesc(talloc_tos(), key, &sec_desc); in regkey_access_check() 194 status =se_access_check(sec_desc, token, requested, granted); in regkey_access_check() 195 TALLOC_FREE(sec_desc); in regkey_access_check()
|
H A D | regfio.h | 134 struct security_descriptor *sec_desc; member 178 REGF_SK_REC *sec_desc; member 229 struct security_descriptor *sec_desc, REGF_NK_REC *parent );
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/util/ |
H A D | delete_reg_key_work_item_unittest.cc | 107 CSecurityDesc sec_desc; in TEST_F() local 108 sec_desc.FromString(L"D:PAI(A;OICI;KR;;;BU)"); // builtin users read in TEST_F() 112 sec_desc.GetPSECURITY_DESCRIPTOR()))); in TEST_F() 113 sec_desc.FromString(L"D:PAI(A;OICI;KA;;;BU)"); // builtin users all access in TEST_F() 117 sec_desc.GetPSECURITY_DESCRIPTOR()))); in TEST_F() 142 sec_desc.GetPSECURITY_DESCRIPTOR()))); in TEST_F()
|
/dports/net/samba412/samba-4.12.15/source3/rpc_server/svcctl/ |
H A D | srv_svcctl_nt.c | 149 return se_access_check( sec_desc, token, access_desired, access_granted); in svcctl_access_check() 279 struct security_descriptor *sec_desc; in _svcctl_OpenSCManagerW() local 285 if ( !(sec_desc = construct_scm_sd( p->mem_ctx )) ) in _svcctl_OpenSCManagerW() 304 struct security_descriptor *sec_desc; in _svcctl_OpenServiceW() local 329 &sec_desc); in _svcctl_OpenServiceW() 908 struct security_descriptor *sec_desc; in _svcctl_QueryServiceObjectSecurity() local 935 &sec_desc); in _svcctl_QueryServiceObjectSecurity() 946 *r->out.needed = ndr_size_security_descriptor(sec_desc, 0); in _svcctl_QueryServiceObjectSecurity() 952 status = marshall_sec_desc(p->mem_ctx, sec_desc, &buffer, &len); in _svcctl_QueryServiceObjectSecurity() 971 struct security_descriptor *sec_desc = NULL; in _svcctl_SetServiceObjectSecurity() local [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 165 PSECURITY_DESCRIPTOR sec_desc = NULL; in SetObjectIntegrityLabel() local 173 &sec_desc, NULL)) { in SetObjectIntegrityLabel() 174 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 183 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/net/samba412/samba-4.12.15/source3/utils/ |
H A D | profiles.c | 141 if (nk->sec_desc->sec_desc == NULL) { in copy_registry_tree() 147 nk->sec_desc->sec_desc); in copy_registry_tree()
|
/dports/security/rifiuti2/rifiuti2-0.7.0/src/ |
H A D | utils-win.c | 293 PSECURITY_DESCRIPTOR sec_desc; in can_list_win32_folder() local 318 NULL, NULL, NULL, NULL, &sec_desc); in can_list_win32_folder() 337 if ( !AuthzAccessCheck (0, authz_ctxt, &authz_req, NULL, sec_desc, in can_list_win32_folder() 367 LocalFree (sec_desc); in can_list_win32_folder()
|
/dports/sysutils/fusefs-ntfs/ntfs-3g_ntfsprogs-2017.3.23/ntfsprogs/ |
H A D | ntfsinfo.c | 1011 le16_to_cpu(sec_desc->control)); in ntfs_dump_security_descriptor() 1024 if (sec_desc->owner) { in ntfs_dump_security_descriptor() 1026 le32_to_cpu(sec_desc->owner)), NULL, 0); in ntfs_dump_security_descriptor() 1032 if (sec_desc->group) { in ntfs_dump_security_descriptor() 1034 le32_to_cpu(sec_desc->group)), NULL, 0); in ntfs_dump_security_descriptor() 1041 if (sec_desc->control & SE_SACL_PRESENT) { in ntfs_dump_security_descriptor() 1047 (ACL *)((char *)sec_desc + in ntfs_dump_security_descriptor() 1048 le32_to_cpu(sec_desc->sacl))); in ntfs_dump_security_descriptor() 1054 if (sec_desc->control & SE_DACL_PRESENT) { in ntfs_dump_security_descriptor() 1060 (ACL *)((char *)sec_desc + in ntfs_dump_security_descriptor() [all …]
|
/dports/net/samba412/samba-4.12.15/source3/rpc_server/eventlog/ |
H A D | srv_eventlog_nt.c | 87 struct security_descriptor *sec_desc; in elog_check_access() local 100 &sec_desc); in elog_check_access() 109 ace = talloc_zero(sec_desc, struct security_ace); in elog_check_access() 111 TALLOC_FREE(sec_desc); in elog_check_access() 120 status = security_descriptor_dacl_add(sec_desc, ace); in elog_check_access() 122 TALLOC_FREE(sec_desc); in elog_check_access() 135 status = se_access_check( sec_desc, token, MAXIMUM_ALLOWED_ACCESS, in elog_check_access() 138 TALLOC_FREE(sec_desc); in elog_check_access()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 163 PSECURITY_DESCRIPTOR sec_desc = NULL; in SetObjectIntegrityLabel() local 171 &sec_desc, NULL)) { in SetObjectIntegrityLabel() 172 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 181 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/src/harness/tests/ |
H A D | test_keyring_manager.cc | 106 SecurityDescriptorPtr sec_desc( in get_security_descriptor() local 109 if (GetFileSecurityA(file_name.c_str(), kReqInfo, sec_desc.get(), in get_security_descriptor() 115 return sec_desc; in get_security_descriptor() 198 SecurityDescriptorPtr sec_desc) { in check_security_descriptor_access_rights() argument 203 if (GetSecurityDescriptorDacl(sec_desc.get(), &dacl_present, &dacl, in check_security_descriptor_access_rights()
|
/dports/sysutils/py-salt/salt-3004.1/salt/utils/ |
H A D | smb.py | 103 sec_desc = SMB2CreateSDBuffer() 104 sec_desc["control"].set_flag(SDControl.SELF_RELATIVE) 105 sec_desc.set_dacl(acl) 108 sd_buffer["buffer_data"] = sec_desc
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 215 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 222 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 223 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 231 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/router/tests/helpers/ |
H A D | filesystem_utils.cc | 123 std::unique_ptr<SECURITY_DESCRIPTOR, decltype(&free)> &sec_desc, in check_security_descriptor_access_rights() argument 129 if (GetSecurityDescriptorDacl(sec_desc.get(), &dacl_present, &dacl, in check_security_descriptor_access_rights()
|
/dports/net/samba412/samba-4.12.15/source4/lib/registry/tools/ |
H A D | regtree.c | 44 struct security_descriptor *sec_desc; in print_tree() local 96 if (!W_ERROR_IS_OK(reg_get_sec_desc(mem_ctx, p, &sec_desc))) { in print_tree()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 218 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 225 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 226 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 234 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 230 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 237 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 238 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 246 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/www/firefox/firefox-99.0/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 230 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 237 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 238 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 246 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 230 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 237 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 238 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 246 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/win/src/ |
H A D | restricted_token_utils.cc | 219 PSECURITY_DESCRIPTOR sec_desc = nullptr; in SetObjectIntegrityLabel() local 226 sddl.c_str(), SDDL_REVISION, &sec_desc, nullptr)) { in SetObjectIntegrityLabel() 227 if (::GetSecurityDescriptorSacl(sec_desc, &sacl_present, &sacl, in SetObjectIntegrityLabel() 235 ::LocalFree(sec_desc); in SetObjectIntegrityLabel()
|