RE: [PATCH 06/41] IB/hfi1: add char device instantiation code

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

 



> But personally, I hate seeing write() used to emulate ioctl() because 'ioctl is
> bad'. ie if you are 'writing' a struct that contains user pointers and you
> expect the kernel to read/write to user memory, then use ioctl. (and that is
> the 'badness' of ioctl, so pretending it is write doesn't help anything)
> 

So you are ok with ioctl? Based on the statement above, it appears that you are.

mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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