diff options
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r-- | arch/um/include/os.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index c279ee6d89e4..dd72d66cf0ed 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #include "uml-config.h" | 9 | #include "uml-config.h" |
10 | #include "asm/types.h" | 10 | #include "asm/types.h" |
11 | #include "../os/include/file.h" | 11 | #include "../os/include/file.h" |
12 | #include "sysdep/ptrace.h" | ||
13 | #include "kern_util.h" | ||
12 | 14 | ||
13 | #define OS_TYPE_FILE 1 | 15 | #define OS_TYPE_FILE 1 |
14 | #define OS_TYPE_DIR 2 | 16 | #define OS_TYPE_DIR 2 |
@@ -219,4 +221,18 @@ extern int umid_file_name(char *name, char *buf, int len); | |||
219 | extern int set_umid(char *name); | 221 | extern int set_umid(char *name); |
220 | extern char *get_umid(void); | 222 | extern char *get_umid(void); |
221 | 223 | ||
224 | /* signal.c */ | ||
225 | extern void set_sigstack(void *sig_stack, int size); | ||
226 | extern void remove_sigstack(void); | ||
227 | extern void set_handler(int sig, void (*handler)(int), int flags, ...); | ||
228 | extern int change_sig(int signal, int on); | ||
229 | extern void block_signals(void); | ||
230 | extern void unblock_signals(void); | ||
231 | extern int get_signals(void); | ||
232 | extern int set_signals(int enable); | ||
233 | |||
234 | /* trap.c */ | ||
235 | extern void os_fill_handlinfo(struct kern_handlers h); | ||
236 | extern void do_longjmp(void *p, int val); | ||
237 | |||
222 | #endif | 238 | #endif |