mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-03 13:30:06 +07: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
@ -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…
Reference in New Issue
Block a user