David Emett
cf90c06f81
tty: fix read of tty->pgrp outside of ctrl_lock
...
The intention was clearly to use the tty_pgrp local variable rather than
re-read tty->pgrp outside of ctrl_lock, so do that.
This bug was introduced by commit 2812d9e9fd ("tty: Combine
SIGTTOU/SIGTTIN handling").
Signed-off-by: David Emett <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-03-28 01:28:23 +09:00
Valdis Klētnieks
3adf2aa8af
drivers/tty/tty_jobctrl.c - fix non-kerneldoc comment
...
Building with W=1 reports (among other things):
CC drivers/tty/tty_jobctrl.o
drivers/tty/tty_jobctrl.c:317: warning: Cannot understand *
on line 317 - I thought it was a doc line
Fix up the non-kerneldoc comment. (other warnings to be cleaned up in separate patch)
Signed-off-by Valdis Kletnieks <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-03-28 01:28:16 +09:00
Greg Kroah-Hartman
e3b3d0f549
tty: add SPDX identifiers to all remaining files in drivers/tty/
...
It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.
Update the drivers/tty files files with the correct SPDX license
identifier based on the license text in the file itself. The SPDX
identifier is a legally binding shorthand, which can be used instead of
the full boiler plate text.
This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.
Cc: Jiri Slaby <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Chris Metcalf <[email protected] >
Cc: Jiri Kosina <[email protected] >
Cc: David Sterba <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Eric Anholt <[email protected] >
Cc: Stefan Wahren <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Ray Jui <[email protected] >
Cc: Scott Branden <[email protected] >
Cc: [email protected]
Cc: "James E.J. Bottomley" <[email protected] >
Cc: Helge Deller <[email protected] >
Cc: Joachim Eastwood <[email protected] >
Cc: Matthias Brugger <[email protected] >
Cc: Masahiro Yamada <[email protected] >
Cc: Tobias Klauser <[email protected] >
Cc: Russell King <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Richard Genoud <[email protected] >
Cc: Alexander Shiyan <[email protected] >
Cc: Baruch Siach <[email protected] >
Cc: "Maciej W. Rozycki" <[email protected] >
Cc: "Uwe Kleine-König" <[email protected] >
Cc: Pat Gefre <[email protected] >
Cc: "Guilherme G. Piccoli" <[email protected] >
Cc: Jason Wessel <[email protected] >
Cc: Vladimir Zapolskiy <[email protected] >
Cc: Sylvain Lemieux <[email protected] >
Cc: Carlo Caione <[email protected] >
Cc: Kevin Hilman <[email protected] >
Cc: Liviu Dudau <[email protected] >
Cc: Sudeep Holla <[email protected] >
Cc: Lorenzo Pieralisi <[email protected] >
Cc: Andy Gross <[email protected] >
Cc: David Brown <[email protected] >
Cc: "Andreas Färber" <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Cc: Laxman Dewangan <[email protected] >
Cc: Thierry Reding <[email protected] >
Cc: Jonathan Hunter <[email protected] >
Cc: Barry Song <[email protected] >
Cc: Patrice Chotard <[email protected] >
Cc: Maxime Coquelin <[email protected] >
Cc: Alexandre Torgue <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Peter Korsgaard <[email protected] >
Cc: Timur Tabi <[email protected] >
Cc: Tony Prisk <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: "Sören Brinkmann" <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Kate Stewart <[email protected] >
Cc: Philippe Ombredanne <[email protected] >
Cc: Jiri Slaby <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2017-11-08 13:08:12 +01:00
Nicolas Pitre
a1235b3eb1
tty: split job control support into a file of its own
...
This makes it easier for job control to become optional and/or usable
independently from tty_io.c, as well as providing a nice purpose
separation. No logical changes from this patch.
Signed-off-by: Nicolas Pitre <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2017-04-18 18:01:52 +02:00