skas.h 563 字节
Newer Older
1
/*
J
Jeff Dike 已提交
2
 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
L
Linus Torvalds 已提交
3 4 5 6 7 8 9 10 11
 * Licensed under the GPL
 */

#ifndef __SKAS_H
#define __SKAS_H

#include "sysdep/ptrace.h"

extern int userspace_pid[];
12 13
extern int proc_mm, ptrace_faultinfo, ptrace_ldt;
extern int skas_needs_stub;
L
Linus Torvalds 已提交
14 15

extern int user_thread(unsigned long stack, int flags);
J
Jeff Dike 已提交
16
extern void new_thread_handler(void);
17
extern void handle_syscall(struct uml_pt_regs *regs);
B
Bodo Stroesser 已提交
18
extern int new_mm(unsigned long stack);
L
Linus Torvalds 已提交
19
extern long execute_syscall_skas(void *r);
20
extern unsigned long current_stub_stack(void);
L
Linus Torvalds 已提交
21 22

#endif