package sys
import "github.com/opencontainers/runc/internal/sys"
Package sys is an internal package that contains helper methods for dealing with Linux that are more complicated than basic wrappers. Basic wrappers usually belong in internal/linux. If you feel something belongs in libcontainer/utils or libcontainer/system, it probably belongs here instead.
Index ¶
Functions ¶
func VerifyInode ¶
func VerifyInode(file *os.File, checkFunc VerifyInodeFunc) error
VerifyInode verifies that the underlying inode for the given file matches an expected inode type (possibly on a particular kind of filesystem). This is mainly a wrapper around VerifyInodeFunc.
Types ¶
type VerifyInodeFunc ¶
VerifyInodeFunc is the callback passed to VerifyInode to check if the inode is the expected type (and on the correct filesystem type, in the case of filesystem-specific inodes).
Source Files ¶
- Version
- v1.3.4
- Published
- Nov 27, 2025
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 10 minutes ago –
Tools for package owners.