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

Function RemoveTcbPrivilege

pkg/sys/privilege.go:108–110  ·  view source on GitHub ↗

RemoveTcbPrivilege removes the TCB privilege from the access token of the current process.

()

Source from the content-addressed store, hash-verified

106
107// RemoveTcbPrivilege removes the TCB privilege from the access token of the current process.
108func RemoveTcbPrivilege() {
109 removePrivileges(SeTcbPrivilege)
110}
111
112func enablePrivileges(privs ...string) {
113 var token windows.Token

Callers 1

makeSenderFunction · 0.92

Calls 1

removePrivilegesFunction · 0.85

Tested by

no test coverage detected