diff options
| author | Peter Hurley <peter@hurleysoftware.com> | 2013-06-15 09:14:24 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-23 16:43:01 -0700 |
| commit | 9356b535fcb71db494fc434acceb79f56d15bda2 (patch) | |
| tree | 98adf60bbc522b1c81060cea2fd6b5318a45272d /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | 6a1c0680cf3ba94356ecd58833e1540c93472a57 (diff) | |
n_tty: Access termios values safely
Use termios_rwsem to guarantee safe access to the termios values.
This is particularly important for N_TTY as changing certain termios
settings alters the mode of operation.
termios_rwsem must be dropped across throttle/unthrottle since
those functions claim the termios_rwsem exclusively (to guarantee
safe access to the termios and for mutual exclusion).
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
