Home
last modified time | relevance | path

Searched refs:TokenPrivileges (Results 1 – 25 of 651) sorted by relevance

12345678910>>...27

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/Windows/advapi32/
H A DInterop.AdjustTokenPrivileges.cs17 TokenPrivileges NewState, in AdjustTokenPrivileges()
24 internal class TokenPrivileges class in Interop.Advapi32
H A DInterop.TOKEN_INFORMATION_CLASS.cs16 TokenPrivileges, enumerator
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/util/
H A Dscoped_token_privilege_unittest.cc35 ::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 Dsymlink.c89 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 Dsymlink.c89 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 DWinHost.c362 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 DWinHost.c362 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 DWinHost.c362 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 Dsecurity.c55 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 Dsecurity.c55 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 DSecMain.c173 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 DWinHost.c381 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 DWinHost.c381 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 DWinHost.c381 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 DWinHost.c381 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 DWinHost.c381 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 DWinHost.c381 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 Dprivileges.py46 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 Dprivileges.go174 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 Dwin_acls.py43 TokenPrivileges,
346 for name, enabled in GetTokenInformation(hnd, TokenPrivileges):
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/csharp/
H A DAnsible.AccessToken.cs45 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 DAnsible.AccessToken.cs45 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 DAnsible.AccessToken.cs45 TokenPrivileges = 3,
297 NativeHelpers.TokenInformationClass.TokenPrivileges))
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/os/
H A Dsystem_util_cleaner.cc200 ::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 DUtility.cs197 …TokenInformationLength(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges); in KeepOnlyPrivilegeInProcess()
201 … GetTokenInformation(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges, in KeepOnlyPrivilegeInProcess()

12345678910>>...27