Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-15 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > This patch deprecates tget/tput and replaces them with get_user() and > put_user() which perform proper locking. It also checks return codes > (in most places) and fails with EFAULT where appropriate. This version doesn't depend on 44_t

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 11:21 -0700, Thayne Harbaugh wrote: > On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > > This patch deprecates tget/tput and replaces them with get_user() and > > put_user() which perform proper locking. It also checks return codes > > (in most places) and fails w

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > This patch deprecates tget/tput and replaces them with get_user() and > put_user() which perform proper locking. It also checks return codes > (in most places) and fails with EFAULT where appropriate. I just noticed that I missed m68k-s

Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
I didn't mention that this patch depends on the previous 44_target_posix_types.patch. On Wed, 2007-11-14 at 09:03 -0700, Thayne Harbaugh wrote: > This patch deprecates tget/tput and replaces them with get_user() and > put_user() which perform proper locking. It also checks return codes > (in most

[Qemu-devel] Re: [PATCH] tget/tput deprecation

2007-11-14 Thread Thayne Harbaugh
This patch deprecates tget/tput and replaces them with get_user() and put_user() which perform proper locking. It also checks return codes (in most places) and fails with EFAULT where appropriate. Index: qemu/linux-user/elfload.c ===