skas.h 445 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __SKAS_H
  6. #define __SKAS_H
  7. #include <sysdep/ptrace.h>
  8. extern int userspace_pid[];
  9. extern int user_thread(unsigned long stack, int flags);
  10. extern void new_thread_handler(void);
  11. extern void handle_syscall(struct uml_pt_regs *regs);
  12. extern long execute_syscall_skas(void *r);
  13. extern unsigned long current_stub_stack(void);
  14. #endif