Hi,

if CONFIG_USER_NS is set the compilation of the auf-sources breaks:

fs/aufs/i_op.c: In function ‘aufs_setattr’:
fs/aufs/i_op.c:719:8: error: incompatible type for argument 2 of
‘security_path_chown’
In file included from fs/aufs/i_op.c:27:0:
include/linux/security.h:2936:19: note: expected ‘kuid_t’ but argument
is of type ‘uid_t’
fs/aufs/i_op.c:719:8: error: incompatible type for argument 3 of
‘security_path_chown’
In file included from fs/aufs/i_op.c:27:0:
include/linux/security.h:2936:19: note: expected ‘kgid_t’ but argument
is of type ‘gid_t’
fs/aufs/i_op.c: In function ‘au_refresh_iattr’:
fs/aufs/i_op.c:769:2: error: incompatible type for argument 2 of
‘i_uid_write’
In file included from include/linux/device_cgroup.h:1:0,
                 from fs/aufs/i_op.c:23:
include/linux/fs.h:705:20: note: expected ‘uid_t’ but argument is of
type ‘kuid_t’
fs/aufs/i_op.c:770:2: error: incompatible type for argument 2 of
‘i_gid_write’
In file included from include/linux/device_cgroup.h:1:0,
                 from fs/aufs/i_op.c:23:
include/linux/fs.h:710:20: note: expected ‘gid_t’ but argument is of
type ‘kgid_t’
make[2]: *** [fs/aufs/i_op.o] Error 1
make[1]: *** [fs/aufs] Error 2
make[1]: *** Waiting for unfinished jobs....


Please find a kernel config at the downstream bugreport
(https://bugs.gentoo.org/show_bug.cgi?id=463471).

I reproduced that issue with a fresh checkout of the aufs3 full kernel
sources.


Any solution to fix this?

Thanks,
Justin

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d

Reply via email to