Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/share/systemtap/tapset/linux/powerpc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/systemtap/tapset/linux/powerpc/sysc_ppc64_sys_stime.stp
# ppc64_sys_stime ________________________________________
#
# long ppc64_sys_stime(long __user * tptr)
#

@define _SYSCALL_PPC64_SYS_STIME_NAME
%(
	name = "ppc64_sys_stime"
%)

@define _SYSCALL_PPC64_SYS_STIME_ARGSTR
%(
	argstr = sprintf("%p", t_uaddr)
%)

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

# dw_ppc64_sys_stime _____________________________________________________

probe dw_syscall.ppc64_sys_stime = kernel.function("ppc64_sys_stime") ?
{
	@_SYSCALL_PPC64_SYS_STIME_NAME
	/* FIXME */
	t_uaddr = $tptr
	@_SYSCALL_PPC64_SYS_STIME_ARGSTR
}
probe dw_syscall.ppc64_sys_stime.return = kernel.function("ppc64_sys_stime").return ?
{
	@_SYSCALL_PPC64_SYS_STIME_NAME
	@SYSC_RETVALSTR($return)
}

# nd_ppc64_sys_stime _____________________________________________________

probe nd_syscall.ppc64_sys_stime = kprobe.function("ppc64_sys_stime") ?
{
	@_SYSCALL_PPC64_SYS_STIME_NAME
	asmlinkage()
	/* FIXME */
	t_uaddr = pointer_arg(1)
	@_SYSCALL_PPC64_SYS_STIME_ARGSTR
}
probe nd_syscall.ppc64_sys_stime.return = kprobe.function("ppc64_sys_stime").return ?
{
	@_SYSCALL_PPC64_SYS_STIME_NAME
	@SYSC_RETVALSTR(returnval())
}

haha - 2025