[ 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
/
lsm_hooks
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 lsm_common.c
6,392 B
SET
[ EDIT ]
|
[ DEL ]
📄 lsm_common.h
1,566 B
SET
[ EDIT ]
|
[ DEL ]
📄 lsm_defs_x.h
1,932 B
SET
[ EDIT ]
|
[ DEL ]
📄 lsm_pre_events.c
41,437 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: lsm_defs_x.h
#ifndef LSM_HOOK_ENTER_NO_RET #define LSM_HOOK_ENTER_NO_RET(...) LSM_HOOK_ENTER(__VA_ARGS__) #endif #ifndef LSM_HOOK_ENTER_ENOSYS #define LSM_HOOK_ENTER_ENOSYS(...) LSM_HOOK_ENTER(__VA_ARGS__) #endif #ifdef HAVE_FILE_OPEN #ifdef FILE_OPEN_WITH_CRED LSM_HOOK_ENTER(file_open, 2, struct file *, file, const struct cred *, cred) #else LSM_HOOK_ENTER(file_open, 1, struct file *, file) #endif #else LSM_HOOK_ENTER(dentry_open, 2, struct file *, file, const struct cred *, cred) #endif #ifdef HAVE_MMAP_FILE LSM_HOOK_ENTER(mmap_file, 4, struct file *, file, unsigned long, reqprot, unsigned long, prot, unsigned long, flags) #endif #ifdef CONFIG_SECURITY_PATH #ifdef RENAME_HAS_FLAGS LSM_HOOK_ENTER(path_rename, 5, LSM_PATH_PTR, old_dir, struct dentry *, old_dentry, LSM_PATH_PTR, new_dir, struct dentry *, new_dentry, unsigned int, flags) #else LSM_HOOK_ENTER(path_rename, 4, LSM_PATH_PTR, old_dir, struct dentry *, old_dentry, LSM_PATH_PTR, new_dir, struct dentry *, new_dentry) #endif LSM_HOOK_ENTER(path_unlink, 2, LSM_PATH_PTR, dir, struct dentry *, dentry) LSM_HOOK_ENTER(path_rmdir, 2, LSM_PATH_PTR, dir, struct dentry *, dentry) LSM_HOOK_ENTER(path_truncate, 1, LSM_PATH_PTR, path) LSM_HOOK_ENTER(path_link, 3, struct dentry *, old_dentry, LSM_PATH_PTR, new_dir, struct dentry *, new_dentry) LSM_HOOK_ENTER(path_chmod, 2, LSM_PATH_PTR, path, umode_t, mode) LSM_HOOK_ENTER(path_chown, 3, LSM_PATH_PTR, path, COMPAT_KUID_T, uid, COMPAT_KGID_T, gid) LSM_HOOK_ENTER(path_mkdir, 3, LSM_PATH_PTR, dir, struct dentry *, dentry, umode_t, mode) #endif #ifdef HAVE_FILE_TRUNCATE LSM_HOOK_ENTER(file_truncate, 1, struct file*, file) #endif LSM_HOOK_ENTER(settime, 2, const TIMESPEC *, ts, const struct timezone *, tz) #ifdef HAVE_FSNOTIFY_PUBLIC_API LSM_HOOK_ENTER(inode_create, 3, struct inode *, dir, struct dentry *, dentry, umode_t, mode) #endif #undef LSM_HOOK_ENTER #undef LSM_HOOK_ENTER_NO_RET #undef LSM_HOOK_ENTER_ENOSYS