linux-stable-rt/arch/um/kernel
Jeff Dike 7eebe8a9c5 [PATCH] uml: umid cleanup
This patch cleans up the umid code:

- The only_if_set argument to get_umid is gone.

- get_umid returns an empty string rather than NULL if there is no umid.

- umid_is_random is gone since its users went away.

- Some printfs were turned into printks because the code runs late enough
  that printk is working.

- Error paths were cleaned up.

- Some functions now return an error and let the caller print the error
  message rather than printing it themselves.  This eliminates the practice of
  passing a pointer to printf or printk in, depending on where in the boot
  process we are.

- Major tidying of not_dead_yet - mostly error path cleanup, plus a comment
  explaining why it doesn't react to errors the way you might expect.

- Calls to os_* interfaces that were moved under os are changed back to
  their native libc forms.

- snprintf, strlcpy, and their bounds-checking friends are used more often,
  replacing by-hand bounds checking in some places.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:47 -08:00
..
skas [PATCH] uml skas0: stop gcc's insanity 2005-12-18 11:19:44 -08:00
tt [PATCH] uml: fix access_ok 2005-11-13 18:14:15 -08:00
Makefile [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
asm-offsets.c
config.c.in
dyn.lds.S
exec_kern.c
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c
initrd.c
irq.c
irq_user.c [PATCH] uml: Simplify console opening/closing and irq registration 2006-01-06 08:33:46 -08:00
ksyms.c
mem.c [PATCH] uml: fix hardcoded ZONE_* constants in zone setup 2005-11-07 07:53:32 -08:00
physmem.c
process_kern.c [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
ptrace.c [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
reboot.c
resource.c
sigio_kern.c
sigio_user.c [PATCH] uml: non-void functions should return something 2006-01-06 08:33:45 -08:00
signal_kern.c
signal_user.c
smp.c
syscall.c
syscall_kern.c
sysrq.c
time.c
time_kern.c
tlb.c
trap_kern.c [PATCH] uml: remove bogus WARN_ON, triggerable harmlessly on a page fault race 2005-11-13 18:14:14 -08:00
trap_user.c
tty_log.c
uaccess.c
um_arch.c [PATCH] uml: umid cleanup 2006-01-06 08:33:47 -08:00
umid.c [PATCH] uml: umid cleanup 2006-01-06 08:33:47 -08:00
uml.lds.S
user_util.c
vmlinux.lds.S