#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include <signal.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <asm/unistd.h>
#include <init.h>
#include <os.h>
#include <mem_user.h>
#include <ptrace_user.h>
#include <registers.h>
#include <skas.h>
#include <skas_ptrace.h>
Go to the source code of this file.
|
| __uml_setup ("skas0", skas0_cmd_param,"skas0\n"" Disables SKAS3 and SKAS4 usage, so that SKAS0 is used\n\n") |
|
| __uml_setup ("mode=skas0", mode_skas0_cmd_param,"mode=skas0\n"" Disables SKAS3 and SKAS4 usage, so that SKAS0 is used.\n\n") |
|
| __uml_setup ("nosysemu", nosysemu_cmd_param,"nosysemu\n"" Turns off syscall emulation patch for ptrace (SYSEMU) on.\n"" SYSEMU is a performance-patch introduced by Laurent Vivier. It changes\n"" behaviour of ptrace() and helps reducing host context switch rate.\n"" To make it working, you need a kernel patch for your host, too.\n"" See http://perso.wanadoo.fr/laurent.vivier/UML/ for further \n"" information.\n\n") |
|
void | check_tmpexec (void) |
|
void __init | os_early_checks (void) |
|
| __uml_setup ("noprocmm", noprocmm_cmd_param,"noprocmm\n"" Turns off usage of /proc/mm, even if host supports it.\n"" To support /proc/mm, the host needs to be patched using\n"" the current skas3 patch.\n\n") |
|
| __uml_setup ("noptracefaultinfo", noptracefaultinfo_cmd_param,"noptracefaultinfo\n"" Turns off usage of PTRACE_FAULTINFO, even if host supports\n"" it. To support PTRACE_FAULTINFO, the host needs to be patched\n"" using the current skas3 patch.\n\n") |
|
| __uml_setup ("noptraceldt", noptraceldt_cmd_param,"noptraceldt\n"" Turns off usage of PTRACE_LDT, even if host supports it.\n"" To support PTRACE_LDT, the host needs to be patched using\n"" the current skas3 patch.\n\n") |
|
void | can_do_skas (void) |
|
int __init | parse_iomem (char *str, int *add) |
|
__uml_setup |
( |
"skas0" |
, |
|
|
skas0_cmd_param |
, |
|
|
"skas0\n"" Disables SKAS3 and SKAS4 |
usage, |
|
|
so that SKAS0 is used\n\n" |
|
|
) |
| |