Re: [PATCH rdma-core] verbs: Allow all commands to be invoked by ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-12-03 at 20:58 +0000, Jason Gunthorpe wrote:
> Using the new UVERBS_METHOD_INVOKE_WRITE interface all of the existing
> write() commands can be immediately converted to execute over ioctl.
> 
> If -DIOCTL_MODE=ioctl is set then only the IOCTL interface is supported,
> and write will not be called. Otherwise the 'both' mode will auto
> detect the kernel support and use it.
> 
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

I've pulled this patch, the official uABI headers update commit, and a
commit to change the default to both for the ioctl mode into a PR that
is currently undergoing Travis CI.  If it passes, I'll merge it and we
will officially have a ready to test ioctl mode API that can be utilized
to get around the fork() issues created by the security fix to the
write() path support.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux