From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsKvh-0000D4-Dj for qemu-devel@nongnu.org; Wed, 14 Nov 2007 11:17:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsKvf-0000Be-TI for qemu-devel@nongnu.org; Wed, 14 Nov 2007 11:17:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsKvf-0000Bb-N1 for qemu-devel@nongnu.org; Wed, 14 Nov 2007 11:17:27 -0500 Received: from owa.c2.net ([207.235.78.2] helo=email.c2.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IsKvf-0004vg-Qh for qemu-devel@nongnu.org; Wed, 14 Nov 2007 11:17:27 -0500 Subject: Re: [Qemu-devel] Re: [PATCH] tget/tput deprecation From: Thayne Harbaugh In-Reply-To: <1195056199.918.39.camel@phantasm.home.enterpriseandprosperity.com> References: <1195055987.918.34.camel@phantasm.home.enterpriseandprosperity.com> <1195056199.918.39.camel@phantasm.home.enterpriseandprosperity.com> Content-Type: text/plain Date: Wed, 14 Nov 2007 09:08:41 -0700 Message-Id: <1195056524.918.40.camel@phantasm.home.enterpriseandprosperity.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: thayne@c2.net, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 places) and fails with EFAULT where appropriate.