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

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

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 with