mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	* update go-git 5.0.0 -> v5.1.0 * vendor Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/golang.org/x/sys/windows/svc/security.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/golang.org/x/sys/windows/svc/security.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -7,8 +7,6 @@ | ||||
| package svc | ||||
|  | ||||
| import ( | ||||
| 	"unsafe" | ||||
|  | ||||
| 	"golang.org/x/sys/windows" | ||||
| ) | ||||
|  | ||||
| @@ -48,9 +46,8 @@ func IsAnInteractiveSession() (bool, error) { | ||||
| 	if err != nil { | ||||
| 		return false, err | ||||
| 	} | ||||
| 	p := unsafe.Pointer(&gs.Groups[0]) | ||||
| 	groups := (*[2 << 20]windows.SIDAndAttributes)(p)[:gs.GroupCount] | ||||
| 	for _, g := range groups { | ||||
|  | ||||
| 	for _, g := range gs.AllGroups() { | ||||
| 		if windows.EqualSid(g.Sid, interSid) { | ||||
| 			return true, nil | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user