Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetTokenInformation (0.32 sec)

  1. src/internal/syscall/windows/security_windows.go

    //sys SetTokenInformation(tokenHandle syscall.Token, tokenInformationClass uint32, tokenInformation uintptr, tokenInformationLength uint32) (err error) = advapi32.SetTokenInformation
    
    type SID_AND_ATTRIBUTES struct {
    	Sid        *syscall.SID
    	Attributes uint32
    }
    
    type TOKEN_MANDATORY_LABEL struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/exec_windows_test.go

    	tml.Label.Sid = sid
    
    	err = windows.DuplicateTokenEx(procToken, 0, nil, windows.SecurityImpersonation,
    		windows.TokenPrimary, &token)
    	if err != nil {
    		return 0, err
    	}
    
    	err = windows.SetTokenInformation(token,
    		syscall.TokenIntegrityLevel,
    		uintptr(unsafe.Pointer(tml)),
    		tml.Size())
    	if err != nil {
    		token.Close()
    		return 0, err
    	}
    	return token, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/zsyscall_windows.go

    	procQueryServiceStatus                = modadvapi32.NewProc("QueryServiceStatus")
    	procRevertToSelf                      = modadvapi32.NewProc("RevertToSelf")
    	procSetTokenInformation               = modadvapi32.NewProc("SetTokenInformation")
    	procProcessPrng                       = modbcryptprimitives.NewProc("ProcessPrng")
    	procGetAdaptersAddresses              = modiphlpapi.NewProc("GetAdaptersAddresses")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    //sys	GetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint32, returnedLen *uint32) (err error) = advapi32.GetTokenInformation
    //sys	SetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint32) (err error) = advapi32.SetTokenInformation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procSetThreadToken                                       = modadvapi32.NewProc("SetThreadToken")
    	procSetTokenInformation                                  = modadvapi32.NewProc("SetTokenInformation")
    	procStartServiceCtrlDispatcherW                          = modadvapi32.NewProc("StartServiceCtrlDispatcherW")
    	procStartServiceW                                        = modadvapi32.NewProc("StartServiceW")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top