/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/Windows/advapi32/ |
H A D | Interop.AdjustTokenPrivileges.cs | 17 TokenPrivileges NewState, in AdjustTokenPrivileges() 24 internal class TokenPrivileges class in Interop.Advapi32
|
H A D | Interop.TOKEN_INFORMATION_CLASS.cs | 16 TokenPrivileges, enumerator
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/util/ |
H A D | scoped_token_privilege_unittest.cc | 35 ::GetTokenInformation(token.Get(), TokenPrivileges, nullptr, 0, &size)); in CurrentProcessHasPrivilege() 41 if (!::GetTokenInformation(token.Get(), TokenPrivileges, privileges, size, in CurrentProcessHasPrivilege()
|
/dports/lang/ocaml/ocaml-4.05.0/otherlibs/win32unix/ |
H A D | symlink.c | 89 if (!GetTokenInformation(hProcess, TokenPrivileges, NULL, 0, &length)) { in unix_has_symlink() 93 TokenPrivileges, in unix_has_symlink()
|
/dports/lang/ocaml-nox11/ocaml-4.05.0/otherlibs/win32unix/ |
H A D | symlink.c | 89 if (!GetTokenInformation(hProcess, TokenPrivileges, NULL, 0, &length)) { in unix_has_symlink() 93 TokenPrivileges, in unix_has_symlink()
|
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 362 TOKEN_PRIVILEGES TokenPrivileges; in main() local 383 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 384 TokenPrivileges.PrivilegeCount = 1; in main() 385 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 386 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 362 TOKEN_PRIVILEGES TokenPrivileges; in main() local 383 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 384 TokenPrivileges.PrivilegeCount = 1; in main() 385 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 386 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 362 TOKEN_PRIVILEGES TokenPrivileges; in main() local 383 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 384 TokenPrivileges.PrivilegeCount = 1; in main() 385 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 386 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/psutil/psutil/arch/windows/ |
H A D | security.c | 55 if (! GetTokenInformation(hToken, TokenPrivileges, NULL, 0, &dwSize)) { in psutil_has_system_privilege() 72 if (! GetTokenInformation(hToken, TokenPrivileges, pBuffer, in psutil_has_system_privilege()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/python/psutil/psutil/arch/windows/ |
H A D | security.c | 55 if (! GetTokenInformation(hToken, TokenPrivileges, NULL, 0, &dwSize)) { in psutil_has_system_privilege() 72 if (! GetTokenInformation(hToken, TokenPrivileges, pBuffer, in psutil_has_system_privilege()
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/Nt32Pkg/Sec/ |
H A D | SecMain.c | 173 TOKEN_PRIVILEGES TokenPrivileges; in main() local 191 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 192 TokenPrivileges.PrivilegeCount = 1; in main() 193 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 194 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/sysutils/edk2/edk2-edk2-stable202102/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/EmulatorPkg/Win/Host/ |
H A D | WinHost.c | 381 TOKEN_PRIVILEGES TokenPrivileges; in main() local 402 if (LookupPrivilegeValue(NULL, SE_TIME_ZONE_NAME, &TokenPrivileges.Privileges[0].Luid)) { in main() 403 TokenPrivileges.PrivilegeCount = 1; in main() 404 TokenPrivileges.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in main() 405 AdjustTokenPrivileges(Token, FALSE, &TokenPrivileges, 0, (PTOKEN_PRIVILEGES) NULL, 0); in main()
|
/dports/devel/py-minidump/minidump-0.0.20/minidump/utils/ |
H A D | privileges.py | 46 TokenPrivileges = 3 variable in TOKEN_INFORMATION_CLASS 151 TOKEN_INFORMATION_CLASS.TokenPrivileges,
|
/dports/net/storj/storj-1.45.3/vendor/github.com/cloudfoundry/gosigar/sys/windows/ |
H A D | privileges.go | 174 syscall.GetTokenInformation(token, syscall.TokenPrivileges, nil, 0, &size) 178 …err := syscall.GetTokenInformation(token, syscall.TokenPrivileges, &b.Bytes()[0], uint32(b.Len()),…
|
/dports/sysutils/py-rdiff-backup/rdiff-backup-2.0.5/src/rdiff_backup/ |
H A D | win_acls.py | 43 TokenPrivileges, 346 for name, enabled in GetTokenInformation(hnd, TokenPrivileges):
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/csharp/ |
H A D | Ansible.AccessToken.cs | 45 TokenPrivileges = 3, enumerator 294 NativeHelpers.TokenInformationClass.TokenPrivileges)) in GetTokenPrivileges()
|
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/module_utils/csharp/ |
H A D | Ansible.AccessToken.cs | 45 TokenPrivileges = 3, enumerator 297 NativeHelpers.TokenInformationClass.TokenPrivileges)) in GetTokenPrivileges()
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/module_utils/csharp/ |
H A D | Ansible.AccessToken.cs | 45 TokenPrivileges = 3, 297 NativeHelpers.TokenInformationClass.TokenPrivileges))
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/os/ |
H A D | system_util_cleaner.cc | 200 ::GetTokenInformation(token, TokenPrivileges, nullptr, 0, &size); in IsPrivilegeEnabled() 204 if (!::GetTokenInformation(token, TokenPrivileges, token_privileges, size, in IsPrivilegeEnabled()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Activation/ |
H A D | Utility.cs | 197 …TokenInformationLength(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges); in KeepOnlyPrivilegeInProcess() 201 … GetTokenInformation(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges, in KeepOnlyPrivilegeInProcess()
|