mbox series

[0/6] tty_audit: random cleanups

Message ID 20230621101611.10580-1-jirislaby@kernel.org
Headers show
Series tty_audit: random cleanups | expand

Message

Jiri Slaby June 21, 2023, 10:16 a.m. UTC
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(-)