Comment 10 for bug 1252664

Revision history for this message
Joseph Yasi (joe-yasi) wrote :

I dug through git, and kuid_t/kgid_t were introduced in kernel 3.5. The proper thing to do is to call __kuid_val(uid) to convert to uid_t on these kernels. The bug isn't a problem introduced with kernel 3.12. It is a problem with all kernels compiled with CONFIG_UIDGID_STRICT_TYPE_CHECKS. This patch should fix the problem for both cases.