M7350/kernel/arch/um/include/shared/skas/skas.h

23 lines
563 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#ifndef __SKAS_H
#define __SKAS_H
2024-09-09 08:57:42 +00:00
#include <sysdep/ptrace.h>
2024-09-09 08:52:07 +00:00
extern int userspace_pid[];
extern int proc_mm, ptrace_faultinfo, ptrace_ldt;
extern int skas_needs_stub;
extern int user_thread(unsigned long stack, int flags);
extern void new_thread_handler(void);
extern void handle_syscall(struct uml_pt_regs *regs);
extern int new_mm(unsigned long stack);
extern long execute_syscall_skas(void *r);
extern unsigned long current_stub_stack(void);
#endif