aboutsummaryrefslogtreecommitdiff
path: root/include/os/freebsd/spl
diff options
context:
space:
mode:
authoryouzhongyang <youzhong@gmail.com>2022-10-19 18:17:09 +0000
committerGitHub <noreply@github.com>2022-10-19 18:17:09 +0000
commit2a068a1394d179dda4becf350e3afb4e8819675e (patch)
tree51890e4daf21593525f801d2889dfe82adbbe4bc /include/os/freebsd/spl
parenteaaed26ffb3a14c0c98ce1e6e039e62327ab4447 (diff)
downloadsrc-2a068a1394d179dda4becf350e3afb4e8819675e.tar.gz
src-2a068a1394d179dda4becf350e3afb4e8819675e.zip
Support idmapped mount
Adds support for idmapped mounts. Supported as of Linux 5.12 this functionality allows user and group IDs to be remapped without changing their state on disk. This can be useful for portable home directories and a variety of container related use cases. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Youzhong Yang <yyang@mathworks.com> Closes #12923 Closes #13671
Diffstat (limited to 'include/os/freebsd/spl')
-rw-r--r--include/os/freebsd/spl/sys/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/os/freebsd/spl/sys/types.h b/include/os/freebsd/spl/sys/types.h
index b1308df29503..558843dcaa74 100644
--- a/include/os/freebsd/spl/sys/types.h
+++ b/include/os/freebsd/spl/sys/types.h
@@ -105,5 +105,7 @@ typedef u_longlong_t len_t;
typedef longlong_t diskaddr_t;
+typedef void zuserns_t;
+
#include <sys/debug.h>
#endif /* !_OPENSOLARIS_SYS_TYPES_H_ */