X7ROOT File Manager
Current Path:
/usr/share/systemtap/tapset/linux/x86_64
usr
/
share
/
systemtap
/
tapset
/
linux
/
x86_64
/
📁
..
📄
aux_syscalls.stp
(3.58 KB)
📄
sysc_arch_prctl.stp
(3.21 KB)
📄
sysc_compat_execve.stp
(1.59 KB)
📄
sysc_compat_fadvise64.stp
(6.92 KB)
📄
sysc_compat_fallocate.stp
(3.54 KB)
📄
sysc_compat_ftruncate64.stp
(3.34 KB)
📄
sysc_compat_lookup_dcookie.stp
(3.72 KB)
📄
sysc_compat_readahead.stp
(3.18 KB)
📄
sysc_compat_truncate64.stp
(3.45 KB)
📄
sysc_execve.stp
(1.62 KB)
📄
sysc_get_thread_area.stp
(3.18 KB)
📄
sysc_iopl.stp
(2.27 KB)
📄
sysc_mmap.stp
(4.04 KB)
📄
sysc_mmap2.stp
(2.62 KB)
📄
sysc_pipe32.stp
(1.54 KB)
📄
sysc_set_thread_area.stp
(3.13 KB)
📄
sysc_sigaltstack.stp
(2.24 KB)
📄
sysc_sysctl32.stp
(1.12 KB)
📄
sysc_vm86_warning.stp
(1.17 KB)
📄
syscall_num.stp
(53.77 KB)
Editing: sysc_pipe32.stp
# pipe _______________________________________________________ # # long sys32_pipe(int __user *fd) # Not available in newer kernels. @define _SYSCALL_PIPE32_NAME %( name = "pipe" %) probe syscall.pipe32 = dw_syscall.pipe32 !, nd_syscall.pipe32 ? {} probe syscall.pipe32.return = dw_syscall.pipe32.return !, nd_syscall.pipe32.return ? {} # dw_pipe32 _____________________________________________________ probe dw_syscall.pipe32 = kernel.function("sys32_pipe")? { @_SYSCALL_PIPE32_NAME flags = 0; flag_str = "" if (@defined($fd)) { fildes_uaddr = $fd if (fildes_uaddr == 0) { pipe0 = 0; pipe1 = 0; argstr = "NULL" } else { pipe0 = user_int(&$fd[0]); pipe1 = user_int(&$fd[1]); argstr = sprintf("[%d, %d]", pipe0, pipe1); } } else { fildes_uaddr = 0; pipe0 = 0; pipe1 = 0; argstr = "[0, 0]"; } } probe dw_syscall.pipe32.return = kernel.function("sys32_pipe").return? { @_SYSCALL_PIPE32_NAME flags = 0; if (@defined(@entry($fd))) { fildes_uaddr = @entry($fd) if (fildes_uaddr == 0) { pipe0 = 0; pipe1 = 0; } else { pipe0 = @entry(user_int(&$fd[0])); pipe1 = @entry(user_int(&$fd[1])); } } else { fildes_uaddr = 0; pipe0 = 0; pipe1 = 0; } @SYSC_RETVALSTR($return) } # nd_pipe32 _____________________________________________________ probe nd_syscall.pipe32 = kprobe.function("sys32_pipe")? { @_SYSCALL_PIPE32_NAME asmlinkage() argstr = sprintf("%p", pointer_arg(1)) } probe nd_syscall.pipe32.return = kprobe.function("sys32_pipe").return? { @_SYSCALL_PIPE32_NAME @SYSC_RETVALSTR(returnval()) }
Upload File
Create Folder