carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package cgroup
4
5type ContainmentIdentity struct{ Device, Inode uint64 }
6
7func (p *Prepared) Identity() (ContainmentIdentity, error) {
8 return ContainmentIdentity{}, ErrStrictUnsupported
9}
10func (p *Prepared) PrepareRoleChild(string) (*Prepared, error) { return nil, ErrStrictUnsupported }
11
12func (p *Prepared) PrepareRoleChildWithIntent(string, func(ContainmentIdentity) error) (*Prepared, error) {
13 return nil, ErrStrictUnsupported
14}
15