zfs/include/os/linux/kernel/linux
Allan Jude a1aa8f14c8 Revert parts of 938cfeb0f2
When read and writing the UID/GID, we always want the value
relative to the root user namespace, the kernel will take care
of remapping this to the user namespace for us.

Calling from_kuid(user_ns, uid) with a unmapped uid will return -1
as that uid is outside of the scope of that namespace, and will result
in the files inside the namespace all being owned by 'nobody' and not
being allowed to call chmod or chown on them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #12263
2022-06-10 09:51:32 -07:00
..
blkdev_compat.h zvol: Support blk-mq for better performance 2022-06-09 08:10:38 -06:00
compiler_compat.h Rename fallthrough to zfs_fallthrough 2022-02-15 08:58:59 -08:00
dcache_compat.h Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
kmap_compat.h Removing old code for k(un)map_atomic 2021-03-19 22:38:44 -07:00
mod_compat.h linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Use percpu_counter for obj_alloc counter of Linux-backed caches 2020-06-26 18:06:50 -07:00
simd.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
simd_aarch64.h Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
simd_powerpc.h Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
simd_x86.h Linux 5.19 compat: asm/fpu/internal.h 2022-06-01 09:59:15 -07:00
utsname_compat.h OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
vfs_compat.h Revert parts of 938cfeb0f2 2022-06-10 09:51:32 -07:00
xattr_compat.h Linux 5.12 compat: idmapped mounts 2021-03-19 21:00:59 -07:00