Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hardening /tmp and /var/tmp mount option
Apply noexec, nodev, nosuid mount options to /tmp and /var/tmp. To apply mount mounts, added following filesystems are mounted for each directory: - tmpfs for /tmp (size=50%) - loop-backed ext4 for /var/tmp (1GB), to keep files beyond reboot this will apply following cis compliance rules: - xccdf_org.ssgproject.content_rule_partition_for_tmp - xccdf_org.ssgproject.content_rule_mount_option_tmp_nodev - xccdf_org.ssgproject.content_rule_mount_option_tmp_noexec - xccdf_org.ssgproject.content_rule_mount_option_tmp_nosuid - xccdf_org.ssgproject.content_rule_mount_option_var_tmp_nodev - xccdf_org.ssgproject.content_rule_mount_option_var_tmp_noexec - xccdf_org.ssgproject.content_rule_mount_option_var_tmp_nosuid Fixes #69 Related scylladb/scylla-pkg#2953 (cherry picked from commit fae766c)
- Loading branch information