Hi Eric, returning the length plus string in one ioctl call was my second option. I went with this design becaus I was concerned about the expense of the extra buffer allocation and copy. Still, unless anyone has a compelling reason to keep this design, I'm happy to rework the patch.