forked from Minki/linux
fc47a0d18a
user_time_init_skas and user_time_init_tt were essentially the same. So, this merges them, deleting the mode-specific functions and declarations. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
35 lines
964 B
C
35 lines
964 B
C
/*
|
|
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __MODE_TT_H__
|
|
#define __MODE_TT_H__
|
|
|
|
#include "sysdep/ptrace.h"
|
|
|
|
enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB };
|
|
|
|
extern int tracing_pid;
|
|
|
|
extern int tracer(int (*init_proc)(void *), void *sp);
|
|
extern void sig_handler_common_tt(int sig, void *sc);
|
|
extern void syscall_handler_tt(int sig, union uml_pt_regs *regs);
|
|
extern void reboot_tt(void);
|
|
extern void halt_tt(void);
|
|
extern int is_tracer_winch(int pid, int fd, void *data);
|
|
extern void kill_off_processes_tt(void);
|
|
|
|
#endif
|
|
|
|
/*
|
|
* Overrides for Emacs so that we follow Linus's tabbing style.
|
|
* Emacs will notice this stuff at the end of the file and automatically
|
|
* adjust the settings for this buffer only. This must remain at the end
|
|
* of the file.
|
|
* ---------------------------------------------------------------------------
|
|
* Local variables:
|
|
* c-file-style: "linux"
|
|
* End:
|
|
*/
|