aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2012-11-17 06:12:28 +0000
committerEric W. Biederman <[email protected]>2012-11-19 11:05:15 +0000
commitdd34ad35c32bb3d16789d8d4084aead7e68a7b09 (patch)
tree6acf9d527a91cd8320bc017b74f3c782cfc0aedc /fs/proc/root.c
parentuserns: make each net (net_ns) belong to a user_ns (diff)
downloadkernel-dd34ad35c32bb3d16789d8d4084aead7e68a7b09.tar.gz
kernel-dd34ad35c32bb3d16789d8d4084aead7e68a7b09.zip
userns: On mips modify check_same_owner to use uid_eq
The kbuild test robot <[email protected]> report the following error when building mips with user namespace support enabled. All error/warnings: arch/mips/kernel/mips-mt-fpaff.c: In function 'check_same_owner': arch/mips/kernel/mips-mt-fpaff.c:53:22: error: invalid operands to binary == (have 'kuid_t' and 'kuid_t') arch/mips/kernel/mips-mt-fpaff.c:54:15: error: invalid operands to binary == (have 'kuid_t' and 'kuid_t') Replace "a == b" with uid_eq(a, b) removes this error and allows the code to work with user namespaces enabled. Cc: Ralf Baechle <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions