mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-10 12:05:04 -04:00
fix
This commit is contained in:
parent
36f2acb93f
commit
70cbe4daaa
1 changed files with 5 additions and 4 deletions
|
@ -177,7 +177,9 @@ _tmp() {
|
||||||
|
|
||||||
_var() {
|
_var() {
|
||||||
mount_folder="$NEWROOT/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 "$@"
|
remount_secure "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,9 +227,8 @@ main() {
|
||||||
_dev_shm
|
_dev_shm
|
||||||
_tmp
|
_tmp
|
||||||
_var
|
_var
|
||||||
## /var implies /var/tmp, /var/log and /var/log/audit
|
_var_tmp
|
||||||
#_var_tmp
|
_var_log
|
||||||
#_var_log
|
|
||||||
_home
|
_home
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue