mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 07:49:24 -05:00
sync
This commit is contained in:
parent
01b82bf0f0
commit
67bdd58bf2
@ -29,10 +29,14 @@ ram_wipe() {
|
||||
|
||||
echo "INFO: wipe-ram.sh: Cold boot attack defense... Starting RAM wipe on shutdown..." > /dev/kmsg
|
||||
|
||||
sync
|
||||
|
||||
## https://gitlab.tails.boum.org/tails/tails/-/blob/master/config/chroot_local-includes/usr/local/lib/initramfs-pre-shutdown-hook
|
||||
### Ensure any remaining disk cache is erased by Linux' memory poisoning
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
|
||||
sync
|
||||
|
||||
## TODO: sdmem settings. One pass only. Secure? Configurable?
|
||||
## TODO: > /dev/kmsg 2> /dev/kmsg
|
||||
sdmem -l -l -v
|
||||
|
Loading…
Reference in New Issue
Block a user