[ 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-1584
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 common
SET
[ DEL ]
📁 ftrace_hooks
SET
[ DEL ]
📁 lsm_hooks
SET
[ DEL ]
📁 network
SET
[ DEL ]
📁 syscall_hooks
SET
[ DEL ]
📁 transport
SET
[ DEL ]
📄 Kbuild
11,027 B
SET
[ EDIT ]
|
[ DEL ]
📄 Makefile
2,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 compat.c
8,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 compat.h
12,265 B
SET
[ EDIT ]
|
[ DEL ]
📄 debug.h
3,649 B
SET
[ EDIT ]
|
[ DEL ]
📄 dkms.conf
146 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts.c
61,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts.h
6,360 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_contexts_priv.h
5,615 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_handle_tools.h
2,590 B
SET
[ EDIT ]
|
[ DEL ]
📄 file_key_tools.h
950 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.c
3,393 B
SET
[ EDIT ]
|
[ DEL ]
📄 memory.h
3,059 B
SET
[ EDIT ]
|
[ DEL ]
📄 module.c
2,739 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
6,209 B
SET
[ EDIT ]
|
[ DEL ]
📄 rundown_protection.c
4,301 B
SET
[ EDIT ]
|
[ DEL ]
📄 rundown_protection.h
2,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 safe_kobject.h
1,315 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_common.h
4,400 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_properties.h
858 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_fp_properties_x.h
18,970 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,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_templates.h
3,066 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_writer.h
7,826 B
SET
[ EDIT ]
|
[ DEL ]
📄 si_writer_common.h
14,984 B
SET
[ EDIT ]
|
[ DEL ]
📄 stringify.h
261 B
SET
[ EDIT ]
|
[ DEL ]
📄 task_info_map.c
17,506 B
SET
[ EDIT ]
|
[ DEL ]
📄 task_info_map.h
6,481 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: Makefile
.PHONY: all clean default modules default: all # verbose make: #MAKE += V=1 $(info "MAKE='$(MAKE)'") SRC_DIR := $(CURDIR) BUILD_DIR := $(abspath $(SRC_DIR)/../obj/$(notdir $(SRC_DIR))) $(info "BUILD_DIR='$(BUILD_DIR)'") # Linux kernel build system 'kbuild' can put object files into dedicated # directory but fails to create that directory. Thus we need to create # all necessary directories in advance. # Add all source subdirecories to MODULE_SUBDIRS MODULE_SUBDIRS += syscall_hooks MODULE_SUBDIRS += transport MODULE_SUBDIRS += lsm_hooks # This is list of [sub]directories we need to precreate for 'kbuild' to # store object files OBJ_DIRS := $(addprefix $(BUILD_DIR)/,$(MODULE_SUBDIRS)) OBJ_DIRS += $(BUILD_DIR) # '_mkdir' variable and following rule will help create directories on # demand. Use '$(call _mkdir,$(DIR_LIST))' to get necessary dependencies. _mkdir = $(addsuffix /.mkdir,$(1)) %/.mkdir: @mkdir -p $(@D) @touch $@ # Use '*_MKDIR' variables as dependencies instead of respective # directories to make them on demand BUILD_DIR_MKDIR := $(call _mkdir,$(BUILD_DIR)) #$(info "BUILD_DIR_MKDIR='$(BUILD_DIR_MKDIR)'") OBJ_DIRS_MKDIR := $(call _mkdir,$(OBJ_DIRS)) #$(info "OBJ_DIRS_MKDIR='$(OBJ_DIRS_MKDIR)'") # Linux kernel build system 'kbuild' needs 'Kbuild' file (or symlink to # actual file) in $(BUILD_DIR) KBUILD_SYMLINK := $(BUILD_DIR)/Kbuild # Note: symlink is always recreated if depends on $(BUILD_DIR_MKDIR) $(KBUILD_SYMLINK): @mkdir -p $(@D) @ln -fsv $(SRC_DIR)/Kbuild $@ all: $(OBJ_DIRS_MKDIR) $(KBUILD_SYMLINK) $(MAKE) -C /lib/modules/`uname -r`/build M=$(BUILD_DIR) src=$(SRC_DIR) modules clean: $(MAKE) -C /lib/modules/`uname -r`/build M=$(BUILD_DIR) src=$(SRC_DIR) clean @$(RM) $(KBUILD_SYMLINK) $(OBJ_DIRS_MKDIR) $(BUILD_DIR_MKDIR) @-rmdir $(OBJ_DIRS) INSTALL_DIR := $(SRC_DIR)/../bin/$(notdir $(SRC_DIR)) $(info "INSTALL_DIR='$(INSTALL_DIR)'") DIST_FILES += Kbuild DIST_FILES += Makefile DIST_FILES += $(wildcard *.h) DIST_FILES += $(wildcard *.c) DIST_FILES += $(wildcard */*.h) DIST_FILES += $(wildcard */*.c) $(info "DIST_FILES='$(DIST_FILES)'") INSTALL_DIST_FILES := $(addprefix $(INSTALL_DIR)/,$(DIST_FILES)) .PHONY: install install: $(INSTALL_DIST_FILES) $(INSTALL_DIST_FILES): $(INSTALL_DIR)/% : % install -D -m 644 $< $@