MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / SetTcbPrivilege

Function SetTcbPrivilege

pkg/sys/privilege.go:103–105  ·  view source on GitHub ↗

SetTcbPrivilege sets the TCB privilege in the current process token.

()

Source from the content-addressed store, hash-verified

101
102// SetTcbPrivilege sets the TCB privilege in the current process token.
103func SetTcbPrivilege() {
104 enablePrivileges(SeTcbPrivilege)
105}
106
107// RemoveTcbPrivilege removes the TCB privilege from the access token of the current process.
108func RemoveTcbPrivilege() {

Callers 1

makeSenderFunction · 0.92

Calls 1

enablePrivilegesFunction · 0.85

Tested by

no test coverage detected