From: Ian Lance Taylor Date: Thu, 25 May 2023 20:58:41 +0000 (-0700) Subject: doc/go1.21: mention syscall package changes X-Git-Tag: go1.21rc1~210 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c2633dfe7749fbb6ff82cccd3bc719b973d8d8ec;p=gostls13.git doc/go1.21: mention syscall package changes One of the changes also affects the os package, so mention it there too. For #46259 Change-Id: I8041a5ce009725ab210118ee668fc94196d9ff82 Reviewed-on: https://go-review.googlesource.com/c/go/+/498376 Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Eli Bendersky Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 0bf89fe212..ade075cd6d 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -606,6 +606,13 @@ Do not send CLs removing the interior tags from such phrases.
os
+

+ On Windows the + File.Chdir> method + now changes the current directory to the file, rather than + always returning an error. +

+

TODO: https://go.dev/issue/32558: allow Chtimes with time.Time{} to avoid setting time

@@ -760,16 +767,18 @@ Do not send CLs removing the interior tags from such phrases.
syscall
-

- TODO: https://go.dev/issue/46259: add Jail int32 to SysProcAttr on FreeBSD -

- -

- TODO: https://go.dev/cl/458335: syscall: add jail support to ForkExec on FreeBSD; modified api/next/46259.txt +

+ On Windows the + Fchdir function + now changes the current directory to its argument, rather than + always returning an error.

-

- TODO: https://go.dev/cl/480135: syscall: implement Fchdir on Windows +

+ On FreeBSD + SysProcAttr + has a new field Jail that may be used to put the + newly created process in a jailed environment.