ipath: Restrict use of the write() interface
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 May 2016 02:33:57 +0000 (03:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2016 07:30:48 +0000 (09:30 +0200)
commit694dfd0ef02ded5b6fbea03a12350ee8a74921d5
treead110ff54b61ed72216cbe5f89dd7b5873736d24
parent9c946c931b63068c4197d9d0b4d24635418bc67d
ipath: Restrict use of the write() interface

Commit e6bd18f57aad ("IB/security: Restrict use of the write()
interface") fixed a security problem with various write()
implementations in the Infiniband subsystem.  In older kernel versions
the ipath_write() function has the same problem and needs the same
restriction.  (The ipath driver has been completely removed upstream.)

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/ipath/ipath_file_ops.c