const Wildcard …
type Device …
type Permissions …
const deviceRead …
const deviceWrite …
const deviceMknod …
func (p Permissions) toSet() uint { … }
func fromSet(set uint) Permissions { … }
func (p Permissions) Union(o Permissions) Permissions { … }
func (p Permissions) Difference(o Permissions) Permissions { … }
func (p Permissions) Intersection(o Permissions) Permissions { … }
func (p Permissions) IsEmpty() bool { … }
func (p Permissions) IsValid() bool { … }
type Type …
const WildcardDevice …
const BlockDevice …
const CharDevice …
const FifoDevice …
func (t Type) IsValid() bool { … }
func (t Type) CanMknod() bool { … }
func (t Type) CanCgroup() bool { … }
type Rule …
func (d *Rule) CgroupString() string { … }
func (d *Rule) Mkdev() (uint64, error) { … }