From 9d1b23964d7f718af19ad906514adf8cf5812965 Mon Sep 17 00:00:00 2001 From: aneesh-n <99904+aneesh-n@users.noreply.github.com> Date: Fri, 17 May 2024 14:19:05 -0600 Subject: [PATCH] Update comment for licensing --- internal/fs/sd_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/fs/sd_windows.go b/internal/fs/sd_windows.go index cc44433c3..5d98b4ef4 100644 --- a/internal/fs/sd_windows.go +++ b/internal/fs/sd_windows.go @@ -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.