mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-07 17:35:09 -04: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.
|
||||
/bin/mount exactwhitelist
|
||||
/usr/bin/mount exactwhitelist
|
||||
/bin/umount exactwhitelist
|
||||
/usr/bin/umount exactwhitelist
|
||||
|
||||
## Remove SUID from 'mount' but keep executable.
|
||||
## https://forums.whonix.org/t/disable-suid-binaries/7706/61
|
||||
/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