]> Cypherpunks repositories - gostls13.git/commit
syscall: skip TestUseCgroupFD if cgroupfs mounted RO
authorPaul E. Murphy <murp@ibm.com>
Mon, 12 Dec 2022 15:31:59 +0000 (09:31 -0600)
committerGopher Robot <gobot@golang.org>
Mon, 12 Dec 2022 23:10:52 +0000 (23:10 +0000)
commitb16e94d13d0f9b84ed92563a12984190f91ead66
treeb0450ed27d7ad143d9e663f6fc2eae25e5e9b25d
parent27301e8247580e456e712a07d68890dc1e857000
syscall: skip TestUseCgroupFD if cgroupfs mounted RO

The skipping logic should also trigger if /sys/fs/cgroup is
mounted read-only too. This is how it is mounted on the
ppc64le/p10 containers today.

Fixes #57262

Change-Id: Idc0ab050052ebf5777ac09f9519215b437b0ee7c
Reviewed-on: https://go-review.googlesource.com/c/go/+/456835
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
src/syscall/exec_linux_test.go