mounting mqueue type fs in a user namespace

From: Thomas Tanaka
Date: Tue Mar 08 2016 - 18:03:06 EST


Hi,

When a process created with CLONE_NEWNS|CLONE_NEWIPC|CLONE_NEWUSER
trying to mount a mqueue type fs, the inode->i_uid of the mounted
mqueue fs is 0, instead of the new user uid e.g 10000, is this an
expected behavior ?

Thanks in advance


--
Regards,

Thomas