From: Erez Zadok Date: Fri, 13 May 2022 22:02:36 +0000 (-0400) Subject: update X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=f1b9321b586f9d2eb4ad93d4a8badbb5c7270981;p=wrapfs-mgmt.git update --- diff --git a/bug-fixes/basic-user-ns.log b/bug-fixes/basic-user-ns.log new file mode 100644 index 0000000..63a169d --- /dev/null +++ b/bug-fixes/basic-user-ns.log @@ -0,0 +1,15 @@ +Wrapfs: port to new user_namespace and mmap APIs + +New struct user_namespace arg is now passed to many VFS ops. See details +here: https://lwn.net/Articles/842423. Like eCryptfs, we can't currently +stack on top of idmapped file systems, so check for it at mount and +prohibit. Instead, we use the default init_user_ns global + +Also at mount, we prohibit mount on top of another wrapfs mount, due to +known incompatibilities. + +mmap ops ->fault and ->page_mkwrite take a different vma struct with some +const args, so extract the right fields as needed. + +Signed-off-by: Andrew Burford +Signed-off-by: Erez Zadok