Freescale Cryptodev incorrect definition

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Freescale Cryptodev incorrect definition

1,183 次查看
ianmerin
Contributor I

Freescale has added a patch to cryptodev to support compat_ioctl.   The problem is, freescale's defintion of COMPAT_CIOCKEY differs from the standard defintion of CIOCKEY, as you can see below:

#define COMPAT_CIOCKEY _IOW('c', 105, struct compat_crypt_kop)

#define CIOCKEY        _IOWR('c', 105, struct crypt_kop)

This causes issues when a CIOCKEY ioctl call is made, but it is passed to the compat_ioctl handler.   All other compat_* definitions are the same as their regular definitions.  Is there a reason Freescale has made the COMPAT_CIOCKEY different?

Thanks

标签 (1)
0 项奖励
回复
0 回复数