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_ppc32_timer_create.stp
# ppc32_timer_create ________________________________________
#
# long ppc32_timer_create(clockid_t clock,
#			struct compat_sigevent __user *ev32,
#			timer_t __user *timer_id)
#

@define _SYSCALL_PPC32_TIMER_CREATE_NAME
%(
	name = "ppc32_timer_create"
%)

@define _SYSCALL_PPC32_TIMER_CREATE_ARGSTR
%(
	argstr = sprintf("%d, %p, %p", which_clock,
	                 timer_event_spec, created_timer_id)
%)

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

# dw_ppc32_timer_create _____________________________________________________

probe dw_syscall.ppc32_timer_create = kernel.function("ppc32_timer_create") ?
{
	@_SYSCALL_PPC32_TIMER_CREATE_NAME
	which_clock = $clock
	timer_event_spec = $ev32
	created_timer_id = $timer_id
	@_SYSCALL_PPC32_TIMER_CREATE_ARGSTR
}
probe dw_syscall.ppc32_timer_create.return = kernel.function("ppc32_timer_create").return ?
{
	@_SYSCALL_PPC32_TIMER_CREATE_NAME
	@SYSC_RETVALSTR($return)
}

# nd_ppc32_timer_create _____________________________________________________

probe nd_syscall.ppc32_timer_create = kprobe.function("ppc32_timer_create") ?
{
	@_SYSCALL_PPC32_TIMER_CREATE_NAME
	asmlinkage()
	which_clock = int_arg(1)
	timer_event_spec = pointer_arg(2)
	created_timer_id = pointer_arg(3)
	@_SYSCALL_PPC32_TIMER_CREATE_ARGSTR
}
probe nd_syscall.ppc32_timer_create.return = kprobe.function("ppc32_timer_create").return ?
{
	@_SYSCALL_PPC32_TIMER_CREATE_NAME
	@SYSC_RETVALSTR(returnval())
}

Spamworldpro Mini