Freescale Cryptodev incorrect definition

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Freescale Cryptodev incorrect definition

1,414件の閲覧回数
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 返答(返信)