[PATCH 3.16 057/114] IB/security: Restrict use of the write() interface

2016-06-13 Thread Ben Hutchings
3.16.36-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit e6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3 upstream. The drivers/infiniband stack uses write() as a replacement for bi-directional

[PATCH 3.16 057/114] IB/security: Restrict use of the write() interface

2016-06-13 Thread Ben Hutchings
3.16.36-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit e6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3 upstream. The drivers/infiniband stack uses write() as a replacement for bi-directional ioctl(). This is not safe. There are