Update comment for licensing

This commit is contained in:
aneesh-n 2024-05-17 14:19:05 -06:00
parent 5cff6e084e
commit 9d1b23964d
No known key found for this signature in database
GPG Key ID: 6F5A52831C046F44
1 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ func getPrivilegeName(luid uint64) string {
return string(utf16.Decode(displayNameBuffer[:displayBufSize]))
}
// The functions below are copied over from https://github.com/microsoft/go-winio/blob/main/zsyscall_windows.go
// The functions below are copied over from https://github.com/microsoft/go-winio/blob/main/zsyscall_windows.go under MIT license.
// This windows api always returns an error even in case of success, warnings (partial success) and error cases.
//
@ -424,7 +424,7 @@ func _lookupPrivilegeValue(systemName *uint16, name *uint16, luid *uint64) (err
return
}
// The code below was copied from https://github.com/microsoft/go-winio/blob/main/tools/mkwinsyscall/mkwinsyscall.go
// The code below was copied from https://github.com/microsoft/go-winio/blob/main/tools/mkwinsyscall/mkwinsyscall.go under MIT license.
// errnoErr returns common boxed Errno values, to prevent
// allocations at runtime.