diff options
author | Peter Hurley <[email protected]> | 2016-01-09 21:45:10 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-01-28 11:58:02 -0800 |
commit | f557474ca3a23800dffb790846bcb121fa046c71 (patch) | |
tree | 0a77a92c9d977bc31a35567afab4c2a268eb6436 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | bee6741ca022f051ea1b46e16fb2ff0097643181 (diff) |
tty: Add fasync() hung up file operation
VFS uses a two-stage check-and-call method for invoking file_operations
methods, without explicitly snapshotting either the file_operations ptr
or the function ptr. Since the tty core is one of the few VFS users that
changes the f_op file_operations ptr of the file descriptor (when the
tty has been hung up), and since the likelihood of the compiler generating
a reload of either f_op or the function ptr is basically nil, just define
a hung up fasync() file operation that returns an error.
Signed-off-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions