On Tue, 2018-12-18 at 14:41 -0500, Doug Ledford wrote: > 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. > Travis checks passed, merged. -- 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