Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/rh/gcc-toolset-11/root/usr/share/systemtap/tapset/linux/s390/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/tapset/linux/s390/sysc_sysctl32.stp
# sysctl _____________________________________________________
#
# long sys32_sysctl(struct __sysctl_args32 __user *args)
#

@define _SYSCALL_SYSCTL32_NAME
%(
	name = "sysctl"
%)

@define _SYSCALL_SYSCTL32_ARGSTR
%(
	argstr = sprintf("%p", args)
%)

probe syscall.sysctl32 = dw_syscall.sysctl32 !, nd_syscall.sysctl32 ? {}
probe syscall.sysctl32.return = dw_syscall.sysctl32.return !,
                                nd_syscall.sysctl32.return ? {}

# dw_sysctl32 _____________________________________________________

probe dw_syscall.sysctl32 = kernel.function("sys32_sysctl") ?
{
	@_SYSCALL_SYSCTL32_NAME
	args = $args
	@_SYSCALL_SYSCTL32_ARGSTR
}
probe dw_syscall.sysctl32.return = kernel.function("sys32_sysctl").return ?
{
	@_SYSCALL_SYSCTL32_NAME
	@SYSC_RETVALSTR($return)
}

# nd_sysctl32 _____________________________________________________

probe nd_syscall.sysctl32 = kprobe.function("sys32_sysctl") ?
{
	@_SYSCALL_SYSCTL32_NAME
	asmlinkage()
	args = pointer_arg(1)
	@_SYSCALL_SYSCTL32_ARGSTR
}
probe nd_syscall.sysctl32.return = kprobe.function("sys32_sysctl").return ?
{
	@_SYSCALL_SYSCTL32_NAME
	@SYSC_RETVALSTR(returnval())
}

Spamworldpro Mini