403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/reptyr/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/reptyr/files/patch-platform_freebsd_arch_x86__common.h
--- platform/freebsd/arch/x86_common.h.orig	2020-09-29 14:29:59.000000000 -0700
+++ platform/freebsd/arch/x86_common.h	2021-12-01 19:58:27.954536000 -0800
@@ -42,21 +42,19 @@
 }
 
 static inline unsigned long arch_get_register(struct ptrace_child *child, unsigned long oft){
-	int ret;
 	struct reg regs;
 
-	ret = ptrace_command(child, PT_GETREGS, &regs);
+	(void) ptrace_command(child, PT_GETREGS, &regs);
 
 	return *ptr(&regs,oft);
 }
 
 static inline void arch_set_register(struct ptrace_child *child, unsigned long oft, unsigned long val){
-	int ret;
 	struct reg regs;
 
-	ret = ptrace_command(child, PT_GETREGS, &regs);
+	(void) ptrace_command(child, PT_GETREGS, &regs);
 	*ptr(&regs,oft)=val;
-	ret = ptrace_command(child, PT_SETREGS, &regs);
+	(void) ptrace_command(child, PT_SETREGS, &regs);
 }
 
 static inline int arch_save_syscall(struct ptrace_child *child) {

Youez - 2016 - github.com/yon3zu
LinuXploit