From: qmuntal Date: Fri, 9 Aug 2024 08:28:52 +0000 (+0200) Subject: os/user: document Current improvements X-Git-Tag: go1.24rc1~1139 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a96e73628402431bbd1d79c926e17a4895db2b7e;p=gostls13.git os/user: document Current improvements Update #21867. Update #68312. Update #68647. Change-Id: Ic41d6747c5a54ba28c1292258aa4d318ccb9fe40 Reviewed-on: https://go-review.googlesource.com/c/go/+/604395 Reviewed-by: Cherry Mui Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Alex Brainman --- diff --git a/doc/next/6-stdlib/99-minor/os/user/21867.md b/doc/next/6-stdlib/99-minor/os/user/21867.md new file mode 100644 index 0000000000..2fc3d2d60c --- /dev/null +++ b/doc/next/6-stdlib/99-minor/os/user/21867.md @@ -0,0 +1,3 @@ +On Windows, [Current] can now be used in Windows Nano Server. +The implementation has been updated to avoid using functions +from the `NetApi32` library, which is not available in Nano Server. diff --git a/doc/next/6-stdlib/99-minor/os/user/68312.md b/doc/next/6-stdlib/99-minor/os/user/68312.md new file mode 100644 index 0000000000..b5d44c7bf6 --- /dev/null +++ b/doc/next/6-stdlib/99-minor/os/user/68312.md @@ -0,0 +1,6 @@ +On Windows, [Current] has been made considerably faster when +the current user is joined to a slow domain, which is the +usual case for many corporate users. The new implementation +performance is now in the order of milliseconds, compared to +the previous implementation which could take several seconds, +or even minutes, to complete. diff --git a/doc/next/6-stdlib/99-minor/os/user/68647.md b/doc/next/6-stdlib/99-minor/os/user/68647.md new file mode 100644 index 0000000000..f31047c1ac --- /dev/null +++ b/doc/next/6-stdlib/99-minor/os/user/68647.md @@ -0,0 +1,3 @@ +On Windows, [Current] now returns the process owner user when +the current thread is impersonating another user. Previously, +it returned an error.