Enabling non-executable memfds
Enabling non-executable memfds
Posted Dec 20, 2022 14:22 UTC (Tue) by walters (subscriber, #7396)Parent article: Enabling non-executable memfds
Anyways, runc doesn't need to make a temporary copy of itself if it knows the underlying file can't be mutated. So runc could learn to query whether the underlying binary has fs-verity enabled or comes from a read-only mount.
It's kind of tempting though to try a LSM (or perhaps selinux control) which modifies CAP_DAC_OVERRIDE's semantics to not allow writing to an executable path.
Posted Dec 20, 2022 18:52 UTC (Tue)
by walters (subscriber, #7396)
[Link]
Enabling non-executable memfds
