Every application should use landlock to grant itself access to only the files it needs.
Different security domains should be isolated into their own processes so one cannot DoS another.
Systemd services should use as many isolation features as possible.
Memory safety is nice but it's not a catch all. Sandbox your shit