Searched refs:privset (Results 1 – 2 of 2) sorted by relevance
/reactos/drivers/filesystems/btrfs/ |
H A D | create.c | 4816 PRIVILEGE_SET privset; in has_manage_volume_privilege() local 4818 privset.PrivilegeCount = 1; in has_manage_volume_privilege() 4819 privset.Control = PRIVILEGE_SET_ALL_NECESSARY; in has_manage_volume_privilege() 4820 privset.Privilege[0].Luid = RtlConvertLongToLuid(SE_MANAGE_VOLUME_PRIVILEGE); in has_manage_volume_privilege() 4821 privset.Privilege[0].Attributes = 0; in has_manage_volume_privilege() 4823 …return SePrivilegeCheck(&privset, &access_state->SubjectSecurityContext, processor_mode) ? true : … in has_manage_volume_privilege()
|
/reactos/modules/rostests/winetests/advapi32/ |
H A D | security.c | 5405 PRIVILEGE_SET privset; in test_CreateRestrictedToken() local 5452 privset.PrivilegeCount = 1; in test_CreateRestrictedToken() 5453 privset.Control = PRIVILEGE_SET_ALL_NECESSARY; in test_CreateRestrictedToken() 5454 ret = LookupPrivilegeValueA(NULL, "SeChangeNotifyPrivilege", &privset.Privilege[0].Luid); in test_CreateRestrictedToken() 5458 ret = PrivilegeCheck(token, &privset, &is_member); in test_CreateRestrictedToken() 5466 ret = pCreateRestrictedToken(token, 0, 1, &sattr, 1, &privset.Privilege[0], 0, NULL, &r_token); in test_CreateRestrictedToken() 5508 ret = PrivilegeCheck(r_token, &privset, &is_member); in test_CreateRestrictedToken() 5522 if (RtlEqualLuid(&privs->Privileges[j].Luid, &privset.Privilege[0].Luid)) in test_CreateRestrictedToken()
|