文件操作 - module_rundown_protection.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/file_protector-1.1-1572/module_rundown_protection.h
编辑文件内容
/** @file module_rundown_protection.h @brief Global module rundown protection used for safe syscalls handling @details Copyright (c) 2022 Acronis International GmbH @author Denis Kopyrin (Denis.Kopyrin@acronis.com) @since $Id: $ */ #pragma once #ifdef KERNEL_MOCK #include <mock/mock.h> #endif #include <linux/types.h> // bool, [u]int(8|16|32|64)_t, atomics void mod_rundown_protection_init(bool ready); bool mod_rundown_protection_lock(void); void mod_rundown_protection_unlock(void); void mod_rundown_protection_set_rundown_active(void); void mod_rundown_protection_wait_for_rundown(void); bool mod_rundown_protection_wait_for_rundown_timeout(unsigned long timeout_jiffies); void mod_rundown_protection_set_ready(void);
修改文件时间
将文件时间修改为当前时间的前一年
删除文件