mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:03:35 +07:00
fix
This commit is contained in:
parent
36f2acb93f
commit
70cbe4daaa
@ -177,7 +177,9 @@ _tmp() {
|
||||
|
||||
_var() {
|
||||
mount_folder="$NEWROOT/var"
|
||||
intended_mount_options="nosuid,nodev${noexec_maybe}"
|
||||
## noexec: Not possible. Reason:
|
||||
## Debian stores executable maintainer scripts in /var/lib/dpkg/info/ folder.
|
||||
intended_mount_options="nosuid,nodev"
|
||||
remount_secure "$@"
|
||||
}
|
||||
|
||||
@ -225,9 +227,8 @@ main() {
|
||||
_dev_shm
|
||||
_tmp
|
||||
_var
|
||||
## /var implies /var/tmp, /var/log and /var/log/audit
|
||||
#_var_tmp
|
||||
#_var_log
|
||||
_var_tmp
|
||||
_var_log
|
||||
_home
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user