\x20\40\x20\40 HEX
HEX
Server: Apache
System: Linux web1.jenscom.net 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User: sps (1059)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/src/file_protector-1.1-1523/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);