diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-09 21:45:10 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 11:58:02 -0800 |
commit | f557474ca3a23800dffb790846bcb121fa046c71 (patch) | |
tree | 0a77a92c9d977bc31a35567afab4c2a268eb6436 /net | |
parent | bee6741ca022f051ea1b46e16fb2ff0097643181 (diff) | |
download | linux-next-f557474ca3a23800dffb790846bcb121fa046c71.tar.gz |
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 <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions