]> Cypherpunks repositories - gostls13.git/commit
os: document that OpenRoot follows symlinks
authorDamien Neil <dneil@google.com>
Tue, 18 Feb 2025 17:36:14 +0000 (09:36 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 18 Feb 2025 18:00:13 +0000 (10:00 -0800)
commitfcdf444924dcd5dc2fb9e3044e32072460e7c374
tree14a461ab02080c6fbb9008fac685c265b5ce6f74
parentad8b33002bb5cb0c910694339e1cc6c75f781c5a
os: document that OpenRoot follows symlinks

OpenRoot is expected to be called with a trusted path,
and does not attempt to defend against symlinks in that path.

Fixes #71806

Change-Id: Ib8b2e123e323d22d5c23ed9f711d21995139a7ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/650355
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/root.go