From f1b9321b586f9d2eb4ad93d4a8badbb5c7270981 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 13 May 2022 18:02:36 -0400 Subject: [PATCH] update --- bug-fixes/basic-user-ns.log | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bug-fixes/basic-user-ns.log 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 -- 2.34.1