#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/ptrace.h>
#include <sys/wait.h>
#include <asm/unistd.h>
#include <init.h>
#include <longjmp.h>
#include <os.h>
#include <skas_ptrace.h>
Go to the source code of this file.
|
| unsigned long | os_process_pc (int pid) |
| |
| int | os_process_parent (int pid) |
| |
| void | os_stop_process (int pid) |
| |
| void | os_kill_process (int pid, int reap_child) |
| |
| long | os_ptrace_ldt (long pid, long addr, long data) |
| |
| void | os_kill_ptraced_process (int pid, int reap_child) |
| |
| int | os_getpid (void) |
| |
| int | os_getpgrp (void) |
| |
| int | os_map_memory (void *virt, int fd, unsigned long long off, unsigned long len, int r, int w, int x) |
| |
| int | os_protect_memory (void *addr, unsigned long len, int r, int w, int x) |
| |
| int | os_unmap_memory (void *addr, int len) |
| |
| int | os_drop_memory (void *addr, int length) |
| |
| int __init | can_drop_memory (void) |
| |
| void | init_new_thread_signals (void) |
| |
| #define ARBITRARY_ADDR -1 |
| #define COMM_SCANF "%*[^)])" |
| #define MADV_REMOVE KERNEL_MADV_REMOVE |
| #define STAT_PATH_LEN sizeof("/proc/#######/stat\0") |
| void os_kill_ptraced_process |
( |
int |
pid, |
|
|
int |
reap_child |
|
) |
| |
| int os_process_parent |
( |
int |
pid | ) |
|
| unsigned long os_process_pc |
( |
int |
pid | ) |
|