Documentation ¶
Overview ¶
SPDX-License-Identifier: GPL-2.0-only
Index ¶
Constants ¶
View Source
const ( StatusDisable = 0 StatusEnable = 1 )
View Source
const ( StatusJudgeDisable = 0 StatusJudgeAudit = 1 StatusJudgeDefense = 2 )
View Source
const ( StatusPending = 0 StatusUntrusted = 1 StatusTrusted = 2 )
Variables ¶
View Source
var ( ErrorEnable = errors.New("process protection enable failed") ErrorDisable = errors.New("process protection disable failed") ErrorUpdateJudge = errors.New("process protection update Judge failed") ErrorInvalidCmd = errors.New("invalid cmd") ErrorClearPolicy = errors.New("clear process policy failed") )
Functions ¶
func ClearPolicy ¶
func ClearPolicy() bool
func SetTrustedCmd ¶
func SetUntrustedCmd ¶
func UpdateJudge ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.