Skip to content

tty: Fix tiocspgrp() related races

Earl Chew lkml llvm oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: Fix __tty_check_change() and tiocspgrp() racedrivers/tty/tty_jobctrl.c+1 -10 replies
2/3tty: Serialise racing tiocspgrp() callersdrivers/tty/tty_jobctrl.c+32 -110 replies
3/3tty: Move task_pgrp() after tty->ctrl.lock for consistencydrivers/tty/tty_jobctrl.c+4 -40 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] tty: Fix tiocspgrp() related races

This is a resubmission to correct errors and warnings called out by the kernel test robot.

Earl Chew (3):
tty: Fix __tty_check_change() and tiocspgrp() race
tty: Serialise racing tiocspgrp() callers
tty: Move task_pgrp() after tty->ctrl.lock for consistency

 drivers/tty/tty_jobctrl.c | 47 ++++++++++++++++++++++++++++-----------
 1 file changed, 34 insertions(+), 13 deletions(-)
Signature · 1 line
2.39.1