tmp_suning_uos_patched/arch/um/os-Linux
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
..
drivers [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
include
sys-i386 [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
sys-x86_64 [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
aio.c [PATCH] uml: Formatting changes 2006-01-06 08:33:45 -08:00
elf_aux.c
file.c
helper.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
main.c [PATCH] uml: separate libc-dependent early initialization 2005-11-07 07:53:31 -08:00
Makefile [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
mem.c [PATCH] uml: big memory fixes 2005-11-07 07:53:31 -08:00
process.c
signal.c
start_up.c [PATCH] uml: fix random segfaults at bootup 2005-12-29 09:48:15 -08:00
time.c
tt.c
tty.c
uaccess.c [PATCH] uml: separate libc-dependent uaccess code 2005-11-07 07:53:31 -08:00
umid.c [PATCH] uml: umid cleanup 2006-01-06 08:33:47 -08:00
user_syms.c [PATCH] Hostfs: update for new glibc - add missing symbol exports 2005-12-29 09:48:15 -08:00