Skip to content

tty_audit: random cleanups

Jiri Slaby (SUSE) linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tty_audit: use TASK_COMM_LEN for task commdrivers/tty/tty_audit.c+1 -10 replies
2/6tty_audit: use kzalloc() in tty_audit_buf_alloc()drivers/tty/tty_audit.c+4 -40 replies
3/6tty_audit: invert the condition in tty_audit_log()drivers/tty/tty_audit.c+12 -120 replies
4/6tty_audit: make icanon a booldrivers/tty/tty_audit.c+2 -20 replies
5/6tty_audit: make tty pointers in exposed functions constdrivers/tty/tty.h drivers/tty/tty_audit.c+9 -70 replies
6/6tty_audit: make data of tty_audit_log() constdrivers/tty/tty_audit.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] tty_audit: random cleanups

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(-)
Signature · 1 line
2.41.0