mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Wrong arguments for warn message
This commit is contained in:
parent
ff214dc10b
commit
c9c58f78a8
@ -27,7 +27,8 @@ static inline bool CheckTrust(int TrustLevel)
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
warn("Thread %s(%lld) tried to access a system call \"%s\" with insufficient trust level",
|
warn("Thread %s(%lld) tried to access a system call \"%s\" with insufficient trust level",
|
||||||
KernelSymbolTable->GetSymbolFromAddress((uintptr_t)__builtin_extract_return_addr(__builtin_return_address(0))), TaskManager->GetCurrentThread()->Name, TaskManager->GetCurrentThread()->ID);
|
TaskManager->GetCurrentThread()->Name, TaskManager->GetCurrentThread()->ID,
|
||||||
|
KernelSymbolTable->GetSymbolFromAddress((uintptr_t)__builtin_extract_return_addr(__builtin_return_address(0))));
|
||||||
debug("Token: token=%#lx, trust=%d", token, TaskManager->GetSecurityManager()->GetTokenTrustLevel(token));
|
debug("Token: token=%#lx, trust=%d", token, TaskManager->GetSecurityManager()->GetTokenTrustLevel(token));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user