<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/os/root_unix.go, branch fix-runtime-test-GOMAXPROCS</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-07-18T21:43:56Z</updated>
<entry>
<title>os: revert the use of AddCleanup to close files and roots</title>
<updated>2025-07-18T21:43:56Z</updated>
<author>
<name>Carlos Amedee</name>
<email>carlos@golang.org</email>
</author>
<published>2025-07-16T19:05:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0451816430486a25966dd76aa92735ac0588b8e5'/>
<id>urn:sha1:0451816430486a25966dd76aa92735ac0588b8e5</id>
<content type='text'>
This reverts commit fdaac84480b02e600660d0ca7c15339138807107.

Updates #70907
Updates #74574
Updates #74642

Reason for revert: Issue #74574

Change-Id: I7b55b85736e4210d9b6f3fd7a24050ac7bdefef9
Reviewed-on: https://go-review.googlesource.com/c/go/+/688435
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>os: do not follow dangling symlinks in Root when O_CREATE|O_EXCL on AIX</title>
<updated>2025-06-10T18:18:22Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-05-30T21:05:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=fb0c27c514b7d6bbb88b72cfd7baff01e567f6bb'/>
<id>urn:sha1:fb0c27c514b7d6bbb88b72cfd7baff01e567f6bb</id>
<content type='text'>
OpenFile with O_CREATE|O_EXCL should not follow dangling symlinks.
On AIX it does, because AIX's openat(2) apparently returns ELOOP
in this case. Most Unices return EEXIST.

Ensure that we never follow symlinks in the final component of
the path when opening a file with O_CREATE|O_EXCL.

Fixes #73924

Change-Id: I869afb7faefccb0bb29d155553a7d7e5be80467d
Reviewed-on: https://go-review.googlesource.com/c/go/+/677735
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.MkdirAll</title>
<updated>2025-05-21T17:14:43Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-05-19T20:09:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e59e128f90aa2453d8881a622524df90feb9d22f'/>
<id>urn:sha1:e59e128f90aa2453d8881a622524df90feb9d22f</id>
<content type='text'>
For #67002

Change-Id: Idd74b5b59e787e89bdfad82171b6a7719465f501
Reviewed-on: https://go-review.googlesource.com/c/go/+/674116
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.RemoveAll</title>
<updated>2025-05-21T16:30:51Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-28T23:40:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=896097000912761dbd31cead2bec99f17534f521'/>
<id>urn:sha1:896097000912761dbd31cead2bec99f17534f521</id>
<content type='text'>
For #67002

Change-Id: If59dab4fd934a115d8ff383826525330de750b54
Reviewed-on: https://go-review.googlesource.com/c/go/+/661595
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>all: use built-in min, max functions</title>
<updated>2025-04-11T23:00:30Z</updated>
<author>
<name>Marcel Meyer</name>
<email>mm.marcelmeyer@gmail.com</email>
</author>
<published>2025-04-11T22:19:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=03640f688b6ae069c72373d7aaa8d23784e456fc'/>
<id>urn:sha1:03640f688b6ae069c72373d7aaa8d23784e456fc</id>
<content type='text'>
Change-Id: Ie76ebb556d635068342747f3f91dd7dc423df531
GitHub-Last-Rev: aea61fb3a054e6bd24f4684f90fb353d5682cd0b
GitHub-Pull-Request: golang/go#73340
Reviewed-on: https://go-review.googlesource.com/c/go/+/664677
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
</content>
</entry>
<entry>
<title>os: avoid symlink races in RemoveAll on Windows</title>
<updated>2025-03-31T22:36:10Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-28T23:14:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=6d418096b2dfe2a2e47b7aa83b46748fb301e6cb'/>
<id>urn:sha1:6d418096b2dfe2a2e47b7aa83b46748fb301e6cb</id>
<content type='text'>
Make the openat-using version of RemoveAll use the appropriate
Windows equivalent, via new portable (but internal) functions
added for os.Root.

We could reimplement everything in terms of os.Root,
but this is a bit simpler and keeps the existing code structure.

Fixes #52745

Change-Id: I0eba0286398b351f2ee9abaa60e1675173988787
Reviewed-on: https://go-review.googlesource.com/c/go/+/661575
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Symlink</title>
<updated>2025-03-28T18:02:40Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-25T17:31:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=26fdb07d4ce58885305283ba18960f582f4eaa73'/>
<id>urn:sha1:26fdb07d4ce58885305283ba18960f582f4eaa73</id>
<content type='text'>
For #67002

Change-Id: Ia1637b61eae49e97e1d07f058ad2390e74cd3403
Reviewed-on: https://go-review.googlesource.com/c/go/+/660635
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Quim Muntal &lt;quimmuntal@gmail.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Link</title>
<updated>2025-03-24T14:53:38Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-20T19:41:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d2d1fd68b6299d4645298e6d70fe8e8cfd98001a'/>
<id>urn:sha1:d2d1fd68b6299d4645298e6d70fe8e8cfd98001a</id>
<content type='text'>
For #67002

Change-Id: I223f3f2dbc8b02726f4ce5a017c628c4a20f109a
Reviewed-on: https://go-review.googlesource.com/c/go/+/659757
Reviewed-by: Quim Muntal &lt;quimmuntal@gmail.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Rename</title>
<updated>2025-03-20T22:12:24Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-03-19T18:15:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2ffda87f2dce71024f72ccff32cbfe29ee676bf8'/>
<id>urn:sha1:2ffda87f2dce71024f72ccff32cbfe29ee676bf8</id>
<content type='text'>
For #67002

Change-Id: Ifb1042bc5ceaeea64296763319b24634bbcb0bf0
Reviewed-on: https://go-review.googlesource.com/c/go/+/659416
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
</content>
</entry>
<entry>
<title>os: add Root.Lchown</title>
<updated>2025-03-19T17:48:54Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2025-02-14T00:38:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1eb1579fba916efd48e81d0f8c9ad548e6c77de0'/>
<id>urn:sha1:1eb1579fba916efd48e81d0f8c9ad548e6c77de0</id>
<content type='text'>
For #67002

Change-Id: I1bbf18838a1dd2281a2b6e56fc8a58ef70007adc
Reviewed-on: https://go-review.googlesource.com/c/go/+/649536
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Damien Neil &lt;dneil@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
</feed>
