mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	 38ddf301f6
			
		
	
	
		38ddf301f6
		
	
	
	
	
		
			
			This makes the types used in the PT_PEEK and PT_POKE actions suitable for 64-bit platforms as well.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <Kernel/API/POSIX/sys/ptrace.h>
 | |
| 
 | |
| __BEGIN_DECLS
 | |
| 
 | |
| // FIXME: PID/TID ISSUE
 | |
| // Affects the entirety of LibDebug and Userland/strace.cpp.
 | |
| // See also Kernel/Ptrace.cpp
 | |
| long ptrace(int request, pid_t tid, void* addr, void* data);
 | |
| 
 | |
| __END_DECLS
 |