mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-17 07:13:50 -05:00
permission hardner: treat mount the same way we treat umount
Thanks to @the-moog for the bug report! fixes https://github.com/Kicksecure/security-misc/issues/284
This commit is contained in:
parent
93b51819d4
commit
5b88e92e5c
1 changed files with 4 additions and 0 deletions
|
|
@ -10,8 +10,12 @@
|
||||||
## SUID will be removed below in separate step.
|
## SUID will be removed below in separate step.
|
||||||
/bin/mount exactwhitelist
|
/bin/mount exactwhitelist
|
||||||
/usr/bin/mount exactwhitelist
|
/usr/bin/mount exactwhitelist
|
||||||
|
/bin/umount exactwhitelist
|
||||||
|
/usr/bin/umount exactwhitelist
|
||||||
|
|
||||||
## Remove SUID from 'mount' but keep executable.
|
## Remove SUID from 'mount' but keep executable.
|
||||||
## https://forums.whonix.org/t/disable-suid-binaries/7706/61
|
## https://forums.whonix.org/t/disable-suid-binaries/7706/61
|
||||||
/bin/mount 755 root root
|
/bin/mount 755 root root
|
||||||
/usr/bin/mount 755 root root
|
/usr/bin/mount 755 root root
|
||||||
|
/bin/umount 755 root root
|
||||||
|
/usr/bin/umount 755 root root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue