mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-12 09:46:25 +08:00
Merge pull request #4911 from cyphar/1.4-remove-libct-userns
This commit is contained in:
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased 1.4.z]
|
||||
|
||||
### libcontainer API
|
||||
- The deprecated `libcontainer/userns` package has been removed; use
|
||||
`github.com/moby/sys/userns` instead.
|
||||
|
||||
## [1.4.0-rc.1] - 2025-09-05
|
||||
|
||||
> おめェもボスになったんだろぉ?
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
// Deprecated: use github.com/moby/sys/userns
|
||||
package userns
|
||||
|
||||
import "github.com/moby/sys/userns"
|
||||
|
||||
// RunningInUserNS detects whether we are currently running in a Linux
|
||||
// user namespace and memoizes the result. It returns false on non-Linux
|
||||
// platforms.
|
||||
//
|
||||
// Deprecated: use [userns.RunningInUserNS].
|
||||
func RunningInUserNS() bool {
|
||||
return userns.RunningInUserNS()
|
||||
}
|
||||
Reference in New Issue
Block a user