[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
file_protector-1.1-1569
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 common
SET
[ DEL ]
📁 ftrace_hooks
SET
[ DEL ]
📁 lsm_hooks
SET
[ DEL ]
📁 syscall_hooks
SET
[ DEL ]
📁 transport
SET
[ DEL ]
📄 Kbuild
10,360 B
SET
[ EDIT ]
|
[ DEL ]
📄 Makefile
2,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 compat.c
8,577 B
SET
[ EDIT ]
|
[ DEL ]
📄 compat.h
11,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 debug.h
3,649 B
SET
[ EDIT ]
|
[ DEL ]
📄 dkms.conf
146 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts.c
51,205 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts.h
2,886 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts_priv.h
5,546 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_handle_tools.h
2,207 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_key_tools.h
869 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_path_tools.h
2,140 B
SET
[ EDIT ]
|
[ DEL ]
📄 hashtable_compat.h
2,798 B
SET
[ EDIT ]
|
[ DEL ]
📄 hook_trampoline_common.h
4,395 B
SET
[ EDIT ]
|
[ DEL ]
📄 interval_tree.h
779 B
SET
[ EDIT ]
|
[ DEL ]
📄 memory.h
1,401 B
SET
[ EDIT ]
|
[ DEL ]
📄 module.c
1,906 B
SET
[ EDIT ]
|
[ DEL ]
📄 module_ref.h
421 B
SET
[ EDIT ]
|
[ DEL ]
📄 module_rundown_protection.c
3,731 B
SET
[ EDIT ]
|
[ DEL ]
📄 module_rundown_protection.h
743 B
SET
[ EDIT ]
|
[ DEL ]
📄 path_tools.h
5,421 B
SET
[ EDIT ]
|
[ DEL ]
📄 rundown_protection.c
4,301 B
SET
[ EDIT ]
|
[ DEL ]
📄 rundown_protection.h
2,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_common.h
4,331 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_properties.h
858 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_properties_x.h
18,543 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_value_types.h
515 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_value_types_x.h
1,279 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_size.h
4,253 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_templates.h
2,452 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_writer.h
6,807 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_writer_common.h
10,696 B
SET
[ EDIT ]
|
[ DEL ]
📄 stringify.h
261 B
SET
[ EDIT ]
|
[ DEL ]
📄 task_info_map.c
16,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 task_info_map.h
6,386 B
SET
[ EDIT ]
|
[ DEL ]
📄 task_tools.h
1,370 B
SET
[ EDIT ]
|
[ DEL ]
📄 tracepoints.c
3,668 B
SET
[ EDIT ]
|
[ DEL ]
📄 tracepoints.h
299 B
SET
[ EDIT ]
|
[ DEL ]
📄 write_protection.h
2,257 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: module.c
/** @file @brief Linux kernel 'module' @details Copyright (c) 2017 Acronis International GmbH @author Mikhail Krivtsov (mikhail.krivtsov@acronis.com) @since $Id: $ */ #include "debug.h" // DPRINTF #include "file_contexts.h" #include "module_rundown_protection.h" #include "syscall_common.h" #include "task_info_map.h" #include "tracepoints.h" #include "transport.h" #include <linux/rcupdate.h> #include <linux/module.h> #include <linux/version.h> // LINUX_VERSION_CODE, KERNEL_VERSION() #ifdef __DEBUG_LEVEL__ #ifdef DEFAULT_LOGGER_DEBUG_LEVEL unsigned int logger_debug_level = DEFAULT_LOGGER_DEBUG_LEVEL; #else unsigned int logger_debug_level = 0; #endif #endif /* Initialization order is very important. 'transport' depends on 'pid_bw_list' 'syscall_hooks' and 'tracepoints' depend on 'transport' */ static int __init module_init_impl(void) { int ret; IPRINTF("DRIVER_VERSION=%s", DRIVER_VERSION_STRING); IPRINTF("LINUX_VERSION_CODE=%u.%u.%u", LINUX_VERSION_CODE >> 16, (LINUX_VERSION_CODE >> 8) & 0xFF, LINUX_VERSION_CODE & 0xFF); #if defined RHEL_RELEASE_CODE IPRINTF("RHEL_RELEASE_CODE=%u.%u", RHEL_RELEASE_CODE >> 8, RHEL_RELEASE_CODE & 0xFF); #endif compat_init(); task_info_maps_init(); file_contexts_init(); mod_rundown_protection_init(false /*not ready*/); ret = transport_mod_init(); if (ret) { EPRINTF("'%s()' failure %i", "transport_mod_init", ret); } DPRINTF("ret=%i", ret); return ret; } static void __exit module_down_impl(void) { IPRINTF("module unload started"); transport_mod_down(); task_info_maps_clear(); file_contexts_deinit(); synchronize_rcu(); rcu_barrier(); IPRINTF("module unload finished"); } MODULE_AUTHOR("Acronis International GmbH"); MODULE_DESCRIPTION("APL (Active Protection for Linux)"); MODULE_LICENSE("GPL"); MODULE_VERSION(DRIVER_VERSION_STRING); module_init(module_init_impl); module_exit(module_down_impl);