1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | package builtin
import (
"github.com/snapcore/snapd/interfaces"
)
// NewRebootInterface returns a new "reboot" interface.
func NewRebootInterface() interfaces.Interface {
return &commonInterface{
name: "reboot",
connectedPlugAppArmor: `capability sys_boot,`,
connectedPlugSecComp: `reboot`,
reservedForOS: true,
}
}
|