linux/arch/um/os-Linux/drivers
Jeff Dike a61f334fd2 uml: convert libc layer to call read and write
This patch converts calls in the os layer to os_{read,write}_file to calls
directly to libc read() and write() where it is clear that the I/O buffer is
in the kernel.

We can do that here instead of calling os_{read,write}_file_k since we are in
libc code and can call libc directly.

With the change in the calls, error handling needs to be changed to refer to
errno directly rather than the return value of the call.

CATCH_EINTR wrappers were also added where needed.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:03 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
etap.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
ethertap_kern.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
ethertap_user.c uml: convert libc layer to call read and write 2007-05-07 12:13:03 -07:00
tuntap.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
tuntap_kern.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
tuntap_user.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00