Commit 9218b171 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: remove user_util.h

user_util.h isn't needed any more, so delete it and remove all includes of it.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 24fa6c08
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include <linux/tty_flip.h> #include <linux/tty_flip.h>
#include <asm/irq.h> #include <asm/irq.h>
#include "chan_kern.h" #include "chan_kern.h"
#include "user_util.h"
#include "kern.h" #include "kern.h"
#include "irq_user.h" #include "irq_user.h"
#include "sigio.h" #include "sigio.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/socket.h> #include <sys/socket.h>
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "chan_user.h" #include "chan_user.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define __COW_SYS_H__ #define __COW_SYS_H__
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "os.h" #include "os.h"
#include "user.h" #include "user.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "net_user.h" #include "net_user.h"
#include "daemon.h" #include "daemon.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <termios.h> #include <termios.h>
#include <errno.h> #include <errno.h>
#include "user.h" #include "user.h"
#include "user_util.h"
#include "chan_user.h" #include "chan_user.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include "user_util.h"
#include "user.h" #include "user.h"
#include "mconsole.h" #include "mconsole.h"
#include "os.h" #include "os.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "irq_user.h" #include "irq_user.h"
#include "line.h" #include "line.h"
#include "kern.h" #include "kern.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "os.h" #include "os.h"
#include "irq_kern.h" #include "irq_kern.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "net_user.h" #include "net_user.h"
#include "mcast.h" #include "mcast.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "linux/console.h" #include "linux/console.h"
#include "asm/irq.h" #include "asm/irq.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "kern.h" #include "kern.h"
#include "mconsole.h" #include "mconsole.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "mconsole.h" #include "mconsole.h"
#include "os.h" #include "os.h"
#include "user_util.h"
static struct mconsole_command commands[] = { static struct mconsole_command commands[] = {
/* With uts namespaces, uts information becomes process-specific, so /* With uts namespaces, uts information becomes process-specific, so
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include "mem_user.h" #include "mem_user.h"
#include "user_util.h"
/* These are set in mmapper_init, which is called at boot time */ /* These are set in mmapper_init, which is called at boot time */
static unsigned long mmapper_size; static unsigned long mmapper_size;
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "linux/ethtool.h" #include "linux/ethtool.h"
#include "linux/platform_device.h" #include "linux/platform_device.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "net_kern.h" #include "net_kern.h"
#include "net_user.h" #include "net_user.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/time.h> #include <sys/time.h>
#include "user.h" #include "user.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "net_user.h" #include "net_user.h"
#include "os.h" #include "os.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#include <netinet/in.h> #include <netinet/in.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "chan_user.h" #include "chan_user.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <termios.h> #include <termios.h>
#include "chan_user.h" #include "chan_user.h"
#include "user.h" #include "user.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <sys/termios.h> #include <sys/termios.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/signal.h> #include <sys/signal.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "net_user.h" #include "net_user.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <errno.h> #include <errno.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/signal.h> #include <sys/signal.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "net_user.h" #include "net_user.h"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "line.h" #include "line.h"
#include "ssl.h" #include "ssl.h"
#include "chan_kern.h" #include "chan_kern.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "kern.h" #include "kern.h"
#include "init.h" #include "init.h"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "stdio_console.h" #include "stdio_console.h"
#include "line.h" #include "line.h"
#include "chan_kern.h" #include "chan_kern.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "irq_user.h" #include "irq_user.h"
#include "mconsole_kern.h" #include "mconsole_kern.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include "chan_user.h" #include "chan_user.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include "asm/irq.h" #include "asm/irq.h"
#include "asm/types.h" #include "asm/types.h"
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "kern_util.h" #include "kern_util.h"
#include "kern.h" #include "kern.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/param.h> #include <sys/param.h>
#include "asm/types.h" #include "asm/types.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "ubd_user.h" #include "ubd_user.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <sys/socket.h> #include <sys/socket.h>
#include "kern_util.h" #include "kern_util.h"
#include "chan_user.h" #include "chan_user.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "xterm.h" #include "xterm.h"
......
/*
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#ifndef __USER_UTIL_H__
#define __USER_UTIL_H__
#include "sysdep/ptrace.h"
extern int mode_tt;
extern int grantpt(int __fd);
extern int unlockpt(int __fd);
extern void *add_signal_handler(int sig, void (*handler)(int));
extern void input_cb(void (*proc)(void *), void *arg, int arg_len);
extern int switcheroo(int fd, int prot, void *from, void *to, int size);
extern void do_exec(int old_pid, int new_pid);
extern void tracer_panic(char *msg, ...)
__attribute__ ((format (printf, 1, 2)));
extern int detach(int pid, int sig);
extern int attach(int pid);
extern void kill_child_dead(int pid);
extern int cont(int pid);
extern void check_sigio(void);
extern int raw(int fd);
#endif
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "asm/pgtable.h" #include "asm/pgtable.h"
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "linux/mqueue.h" #include "linux/mqueue.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "asm/pgtable.h" #include "asm/pgtable.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "os.h" #include "os.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "linux/bootmem.h" #include "linux/bootmem.h"
#include "linux/initrd.h" #include "linux/initrd.h"
#include "asm/types.h" #include "asm/types.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "initrd.h" #include "initrd.h"
#include "init.h" #include "init.h"
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "asm/system.h" #include "asm/system.h"
#include "asm/errno.h" #include "asm/errno.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "irq_user.h" #include "irq_user.h"
#include "irq_kern.h" #include "irq_kern.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "os.h" #include "os.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "asm/page.h" #include "asm/page.h"
#include "asm/fixmap.h" #include "asm/fixmap.h"
#include "asm/pgalloc.h" #include "asm/pgalloc.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "kern.h" #include "kern.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "asm/pgtable.h" #include "asm/pgtable.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "user_util.h"
#include "mode_kern.h" #include "mode_kern.h"
#include "mem.h" #include "mem.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "asm/user.h" #include "asm/user.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "kern.h" #include "kern.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "linux/module.h" #include "linux/module.h"
#include "linux/sched.h" #include "linux/sched.h"
#include "asm/smp.h" #include "asm/smp.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "kern.h" #include "kern.h"
#include "os.h" #include "os.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "asm/signal.h" #include "asm/signal.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "asm/unistd.h" #include "asm/unistd.h"
#include "user_util.h"
#include "asm/ucontext.h" #include "asm/ucontext.h"
#include "kern_util.h" #include "kern_util.h"
#include "signal_kern.h" #include "signal_kern.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "as-layout.h" #include "as-layout.h"
#include "skas.h" #include "skas.h"
#include "os.h" #include "os.h"
#include "user_util.h"
#include "tlb.h" #include "tlb.h"
#include "kern.h" #include "kern.h"
#include "mode.h" #include "mode.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "asm/page.h" #include "asm/page.h"
#include "asm/pgtable.h" #include "asm/pgtable.h"
#include "asm/mmu.h" #include "asm/mmu.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "mem.h" #include "mem.h"
#include "skas.h" #include "skas.h"
......
...@@ -21,7 +21,6 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); ...@@ -21,7 +21,6 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
#include "asm/smp.h" #include "asm/smp.h"
#include "asm/processor.h" #include "asm/processor.h"
#include "asm/spinlock.h" #include "asm/spinlock.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "kern.h" #include "kern.h"
#include "irq_user.h" #include "irq_user.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "asm/mman.h" #include "asm/mman.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "sysdep/syscalls.h" #include "sysdep/syscalls.h"
#include "mode_kern.h" #include "mode_kern.h"
#include "choose-mode.h" #include "choose-mode.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "asm/page.h" #include "asm/page.h"
#include "asm/processor.h" #include "asm/processor.h"
#include "sysrq.h" #include "sysrq.h"
#include "user_util.h"
/* Catch non-i386 SUBARCH's. */ /* Catch non-i386 SUBARCH's. */
#if !defined(CONFIG_UML_X86) || defined(CONFIG_64BIT) #if !defined(CONFIG_UML_X86) || defined(CONFIG_64BIT)
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "asm/param.h" #include "asm/param.h"
#include "asm/current.h" #include "asm/current.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "mode.h" #include "mode.h"
#include "os.h" #include "os.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "choose-mode.h" #include "choose-mode.h"
#include "mode_kern.h" #include "mode_kern.h"
#include "as-layout.h" #include "as-layout.h"
#include "user_util.h"
#include "tlb.h" #include "tlb.h"
#include "mem.h" #include "mem.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "asm/current.h" #include "asm/current.h"
#include "asm/irq.h" #include "asm/irq.h"
#include "sysdep/sigcontext.h" #include "sysdep/sigcontext.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "arch.h" #include "arch.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "asm/pgalloc.h" #include "asm/pgalloc.h"
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "irq_user.h" #include "irq_user.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <errno.h> #include <errno.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <signal.h> #include <signal.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "ptrace_user.h" #include "ptrace_user.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "user.h" #include "user.h"
#include "debug.h" #include "debug.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "tt.h" #include "tt.h"
#include "sysdep/thread.h" #include "sysdep/thread.h"
#include "os.h" #include "os.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "mem_user.h" #include "mem_user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "kern.h" #include "kern.h"
#include "tt.h" #include "tt.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include "tt.h" #include "tt.h"
#include "mem_user.h" #include "mem_user.h"
#include "user_util.h"
#include "os.h" #include "os.h"
void remap_data(void *segment_start, void *segment_end, int w) void remap_data(void *segment_start, void *segment_end, int w)
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "irq_user.h" #include "irq_user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "os.h" #include "os.h"
#include "kern.h" #include "kern.h"
#include "sigcontext.h" #include "sigcontext.h"
......
...@@ -26,7 +26,6 @@ Jeff Dike (jdike@karaya.com) : Modified for integration into uml ...@@ -26,7 +26,6 @@ Jeff Dike (jdike@karaya.com) : Modified for integration into uml
#include "sysdep.h" #include "sysdep.h"
#include "wait.h" #include "wait.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "tempfile.h" #include "tempfile.h"
......
...@@ -16,7 +16,6 @@ Jeff Dike (jdike@karaya.com) : Modified for integration into uml ...@@ -16,7 +16,6 @@ Jeff Dike (jdike@karaya.com) : Modified for integration into uml
#include "ptproxy.h" #include "ptproxy.h"
#include "debug.h" #include "debug.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "ptrace_user.h" #include "ptrace_user.h"
#include "tt.h" #include "tt.h"
......
...@@ -13,7 +13,6 @@ terms and conditions. ...@@ -13,7 +13,6 @@ terms and conditions.
#include <sys/types.h> #include <sys/types.h>
#include <linux/unistd.h> #include <linux/unistd.h>
#include "ptrace_user.h" #include "ptrace_user.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
......
...@@ -13,7 +13,6 @@ terms and conditions. ...@@ -13,7 +13,6 @@ terms and conditions.
#include "ptproxy.h" #include "ptproxy.h"
#include "sysdep.h" #include "sysdep.h"
#include "wait.h" #include "wait.h"
#include "user_util.h"
#include "ptrace_user.h" #include "ptrace_user.h"
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "sysdep/sigcontext.h" #include "sysdep/sigcontext.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include "sigcontext.h" #include "sigcontext.h"
#include "ptrace_user.h" #include "ptrace_user.h"
#include "task.h" #include "task.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "syscall.h" #include "syscall.h"
#include "tt.h" #include "tt.h"
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include "asm/pgtable.h" #include "asm/pgtable.h"
#include "asm/uaccess.h" #include "asm/uaccess.h"
#include "asm/tlbflush.h" #include "asm/tlbflush.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "os.h" #include "os.h"
#include "tlb.h" #include "tlb.h"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "sigcontext.h" #include "sigcontext.h"
#include "sysdep/sigcontext.h" #include "sysdep/sigcontext.h"
#include "os.h" #include "os.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "process.h" #include "process.h"
#include "kern_util.h" #include "kern_util.h"
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <signal.h> #include <signal.h>
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "sysdep/sigcontext.h" #include "sysdep/sigcontext.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "task.h" #include "task.h"
#include "tt.h" #include "tt.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
*/ */
#include <string.h> #include <string.h>
#include "user_util.h"
#include "uml_uaccess.h" #include "uml_uaccess.h"
#include "task.h" #include "task.h"
#include "kern_util.h" #include "kern_util.h"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "asm/setup.h" #include "asm/setup.h"
#include "ubd_user.h" #include "ubd_user.h"
#include "asm/current.h" #include "asm/current.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "arch.h" #include "arch.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include <net/if.h> #include <net/if.h>
#include "user.h" #include "user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "net_user.h" #include "net_user.h"
#include "etap.h" #include "etap.h"
#include "os.h" #include "os.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "net_user.h" #include "net_user.h"
#include "tuntap.h" #include "tuntap.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include "os.h" #include "os.h"
#include "user.h" #include "user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
static void copy_stat(struct uml_stat *dst, struct stat64 *src) static void copy_stat(struct uml_stat *dst, struct stat64 *src)
{ {
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include "user.h" #include "user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <sys/poll.h> #include <sys/poll.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "process.h" #include "process.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/user.h> #include <sys/user.h>
#include <asm/page.h> #include <asm/page.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <sys/statfs.h> #include <sys/statfs.h>
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "user_util.h"
#include "mem_user.h" #include "mem_user.h"
#include "init.h" #include "init.h"
#include "os.h" #include "os.h"
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include "ptrace_user.h" #include "ptrace_user.h"
#include "os.h" #include "os.h"
#include "user.h" #include "user.h"
#include "user_util.h"
#include "process.h" #include "process.h"
#include "irq_user.h" #include "irq_user.h"
#include "kern_util.h" #include "kern_util.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "init.h" #include "init.h"
#include "user.h" #include "user.h"
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "sigio.h" #include "sigio.h"
#include "os.h" #include "os.h"
#include "um_malloc.h" #include "um_malloc.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <sys/mman.h> #include <sys/mman.h>
#include "user_util.h"
#include "user.h" #include "user.h"
#include "signal_kern.h" #include "signal_kern.h"
#include "sysdep/sigcontext.h" #include "sysdep/sigcontext.h"
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include "os.h" #include "os.h"
#include "proc_mm.h" #include "proc_mm.h"
#include "ptrace_user.h" #include "ptrace_user.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "task.h" #include "task.h"
#include "registers.h" #include "registers.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <asm/types.h> #include <asm/types.h>
#include "user.h" #include "user.h"
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "skas.h" #include "skas.h"
#include "stub-data.h" #include "stub-data.h"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "as-layout.h" #include "as-layout.h"
#include "task.h" #include "task.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <asm/unistd.h> #include <asm/unistd.h>
#include <asm/page.h> #include <asm/page.h>
#include <sys/types.h> #include <sys/types.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "signal_kern.h" #include "signal_kern.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "sysdep/tls.h" #include "sysdep/tls.h"
#include "user.h" #include "user.h"
#include "user_util.h"
/* Checks whether host supports TLS, and sets *tls_min according to the value /* Checks whether host supports TLS, and sets *tls_min according to the value
* valid on the host. * valid on the host.
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <sys/time.h> #include <sys/time.h>
#include <signal.h> #include <signal.h>
#include <errno.h> #include <errno.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "process.h" #include "process.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <signal.h> #include <signal.h>
#include "kern_util.h" #include "kern_util.h"
#include "user_util.h"
#include "os.h" #include "os.h"
#include "mode.h" #include "mode.h"
#include "longjmp.h" #include "longjmp.h"
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/unistd.h> #include <asm/unistd.h>
#include <asm/page.h> #include <asm/page.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "signal_kern.h" #include "signal_kern.h"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <sched.h> #include <sched.h>
#include <termios.h> #include <termios.h>
#include <string.h> #include <string.h>
#include "user_util.h"
#include "kern_util.h" #include "kern_util.h"
#include "user.h" #include "user.h"
#include "mem_user.h" #include "mem_user.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "task.h" #include "task.h"
#include "os.h" #include "os.h"
#include "user_util.h"
#define MAXTOKEN 64 #define MAXTOKEN 64
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "user.h" #include "user.h"
#include "os.h" #include "os.h"
#include "uml-config.h" #include "uml-config.h"
#include "user_util.h"
int ptrace_getregs(long pid, unsigned long *regs_out) int ptrace_getregs(long pid, unsigned long *regs_out)
{ {
......
#include "asm/ptrace.h" #include "asm/ptrace.h"
#include "asm/sigcontext.h" #include "asm/sigcontext.h"
#include "sysdep/ptrace.h" #include "sysdep/ptrace.h"
#include "user_util.h"
/* /*
* Overrides for Emacs so that we follow Linus's tabbing style. * Overrides for Emacs so that we follow Linus's tabbing style.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment