Closed cgzones closed 2 years ago
(Whoops, sorry, I accidentally pushed to your branch while trying something out... I reverted it back.)
TODO: The system needs to enable secretmem at boot time via the cmdline option
secretmem.enable=1
. How can that be added to the virtual machine?
You could do something like this: https://github.com/WOnder93/selinux-testsuite/commit/c39b1f4fa81493fde2b6c0331707eb1d70c95f9c
You could do something like this: WOnder93@c39b1f4
Thanks, applied.
FYI. I just merged the associated kernel patch via the selinux/next branch.
Applied as 77352e748f006c343d602e4be03ae0d2cfcca831
Testcases for
[RFC] mm: create security context for memfd_secret inodes
, see https://patchwork.kernel.org/project/selinux/patch/20220125143304.34628-1-cgzones@googlemail.com/.