403Webshell
Server IP : 103.4.122.14  /  Your IP : 216.73.216.103
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux cwp2.slnet.com.au 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : statewid ( 1251)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/systemtap/tapset/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/systemtap/tapset/linux/sysc_tux.stp
# tux ________________________________________________________
# long sys_tux (unsigned int action, user_req_t *u_info)
#

@define _SYSCALL_TUX_NAME
%(
	name = "tux"
%)

@define _SYSCALL_TUX_ARGSTR
%(
	argstr = sprintf("%d, %p", action, u_info_uaddr)
%)

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

# dw_tux _____________________________________________________

probe dw_syscall.tux = kernel.function("sys_tux").call ?
{
	@_SYSCALL_TUX_NAME
	action = $action
	u_info_uaddr = $u_info
	@_SYSCALL_TUX_ARGSTR
}
probe dw_syscall.tux.return = kernel.function("sys_tux").return ?
{
	@_SYSCALL_TUX_NAME
	@SYSC_RETVALSTR($return)
}

# nd_tux _____________________________________________________

probe nd_syscall.tux = kprobe.function("sys_tux") ?
{
	@_SYSCALL_TUX_NAME
	asmlinkage()
	action = uint_arg(1)
	u_info_uaddr = pointer_arg(2)
	@_SYSCALL_TUX_ARGSTR
}
probe nd_syscall.tux.return = kprobe.function("sys_tux").return ?
{
	@_SYSCALL_TUX_NAME
	@SYSC_RETVALSTR(returnval())
}

Youez - 2016 - github.com/yon3zu
LinuXploit