[PATCH 0/6] tty_audit: random cleanups

From: Jiri Slaby (SUSE)
Date: Wed Jun 21 2023 - 06:16:36 EST


These are random clean up patches which I came up with while doing more
invasive cleanup over the tty layer (to be sent later).

Jiri Slaby (SUSE) (6):
tty_audit: use TASK_COMM_LEN for task comm
tty_audit: use kzalloc() in tty_audit_buf_alloc()
tty_audit: invert the condition in tty_audit_log()
tty_audit: make icanon a bool
tty_audit: make tty pointers in exposed functions const
tty_audit: make data of tty_audit_log() const

drivers/tty/tty.h | 11 ++++++-----
drivers/tty/tty_audit.c | 43 +++++++++++++++++++++--------------------
2 files changed, 28 insertions(+), 26 deletions(-)

--
2.41.0