阅读背景:

Linux设备驱动程序原子GET然后通过ioctl SET

来源:互联网 

I would like to read a structure from a device driver via an ioctl, change a value in the structure in userspace and then write it back. Is this possible to do atomically without some other process changing the structure inbetween read and write?I would like to read a structure from a device




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: