printk: silence TEE logs from userspace
- Spams logs, pushing out useful messages - Reduces security because it exposes internal information Signed-off-by: kdrag0n <dragon@khronodragon.com>
This commit is contained in:
parent
4c5ccd7047
commit
1fb8aae79b
|
@ -802,7 +802,8 @@ static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from)
|
|||
}
|
||||
}
|
||||
|
||||
if (strncmp("healthd", line, 7) == 0) {
|
||||
if (unlikely(strncmp("healthd", line, 7) == 0 || strncmp("Trustonic TEE", line, 13) == 0))
|
||||
{
|
||||
return len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user