From patchwork Wed Oct 24 13:49:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve McIntyre X-Patchwork-Id: 12476 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 06DCA23FB6 for ; Wed, 24 Oct 2012 13:50:12 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7E07AA195C6 for ; Wed, 24 Oct 2012 13:50:11 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so368760iag.11 for ; Wed, 24 Oct 2012 06:50:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:date:from :to:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:x-attached:user-agent :x-gm-message-state; bh=HPZUoKbU548hkyYuzrPItHgyAVcDF56ppLsvwNUiHAo=; b=TsWwwtIJn8lxRScXSAWfzLpZ5PVd+Oj4/aYkCZn3Gy+vkR5XWsSm+NXeJy2Y2VHp05 4hdeN0ELmHlbZFuPP6YjL7hmTQkfBNpiGKAc90lfvh/ye0CmVKxAcvI9ryywnRrRN4H5 meCRkG4iYQbkNfWlZoXw9BUrphXfZW78M/DBWTxp9c8lsIQfTV6akDJD565kY0oDdSGv 5lzcqEhvksX/KIBBIGqA5qUzv6rVWnheDLR6WBMgQSZnxHWPXMLyZzO9/ZgiaxHabg8W V0NN4aHZpjlanI4n35o6HLuRC1z1AmPQtPzGTuBxgjAL4WW4lZyCbDKii+G4QtUI0Uxa Rr/g== Received: by 10.50.91.195 with SMTP id cg3mr943095igb.57.1351086610881; Wed, 24 Oct 2012 06:50:10 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp617556igt; Wed, 24 Oct 2012 06:50:10 -0700 (PDT) Received: by 10.180.94.226 with SMTP id df2mr2730168wib.11.1351086609180; Wed, 24 Oct 2012 06:50:09 -0700 (PDT) Received: from cheddar.halon.org.uk (cheddar.halon.org.uk. [217.10.144.130]) by mx.google.com with ESMTPS id x20si2771531weo.96.2012.10.24.06.50.08 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 06:50:09 -0700 (PDT) Received-SPF: neutral (google.com: 217.10.144.130 is neither permitted nor denied by best guess record for domain of steve.mcintyre@linaro.org) client-ip=217.10.144.130; Authentication-Results: mx.google.com; spf=neutral (google.com: 217.10.144.130 is neither permitted nor denied by best guess record for domain of steve.mcintyre@linaro.org) smtp.mail=steve.mcintyre@linaro.org Received: from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim 4.72) (envelope-from ) id 1TR1LU-00036f-6Y; Wed, 24 Oct 2012 14:50:08 +0100 Received: from steve by tack.local with local (Exim 4.80) (envelope-from ) id 1TR1Kj-0001br-4z; Wed, 24 Oct 2012 14:49:21 +0100 Date: Wed, 24 Oct 2012 14:49:20 +0100 From: Steve McIntyre To: strace-devel@lists.sourceforge.net, patches@linaro.org Subject: Re: [PATCH 1/2] Update errno and ioctl definitions for newer Linux Message-ID: <20121024134907.GA5294@einval.com> References: <20121023163441.GA31157@einval.com> <20121023163652.GB31157@einval.com> <20121023235846.GB32570@altlinux.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121023235846.GB32570@altlinux.org> X-attached: none User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmUolhYHoi99wp6LobwTYHtGaUpHJ2sHt7uMau4+Dvnv5N/vZHbPvWOw235furGrg4hN+V7 On Wed, Oct 24, 2012 at 03:58:46AM +0400, Dmitry V. Levin wrote: >On Tue, Oct 23, 2012 at 05:36:58PM +0100, Steve McIntyre wrote: >> Update errno and ioctl definitions for newer Linux >> >> Signed-off-by: Steve McIntyre >> --- >> linux/errnoent.h | 4 +- >> linux/ioctlent.h.in | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++ >> 2 files changed, 123 insertions(+), 2 deletions(-) >> >> diff --git a/linux/errnoent.h b/linux/errnoent.h >> index e43bff5..c2ac683 100644 >> --- a/linux/errnoent.h >> +++ b/linux/errnoent.h >> @@ -519,8 +519,8 @@ >> "ERESTARTNOHAND", /* 514 */ >> "ENOIOCTLCMD", /* 515 */ >> "ERESTART_RESTARTBLOCK", /* 516 */ >> - "ERRNO_517", /* 517 */ >> - "ERRNO_518", /* 518 */ >> + "EPROBE_DEFER", /* 517 */ >> + "EOPENSTALE", /* 518 */ >> "ERRNO_519", /* 519 */ >> "ERRNO_520", /* 520 */ >> "EBADHANDLE", /* 521 */ > >This one is obvious. Please add a ChangeLog-style entry (see >README-hacking file for details) for this errnoent.h patch. ACK. Here's an update for that. linux: add new errno values for EPROBE_DEFER and EOPENSTALE * linux/errnoent.h: Change ERRNO_517 to EPROBE_DEFER. * linux/errnoent.h: Change ERRNO_518 to EOPENSTALE. New definitions match updates in Linux 3.4 and Linux 3.5 respectively. Signed-off-by: Steve McIntyre --- linux/errnoent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/errnoent.h b/linux/errnoent.h index e43bff5..c2ac683 100644 --- a/linux/errnoent.h +++ b/linux/errnoent.h @@ -519,8 +519,8 @@ "ERESTARTNOHAND", /* 514 */ "ENOIOCTLCMD", /* 515 */ "ERESTART_RESTARTBLOCK", /* 516 */ - "ERRNO_517", /* 517 */ - "ERRNO_518", /* 518 */ + "EPROBE_DEFER", /* 517 */ + "EOPENSTALE", /* 518 */ "ERRNO_519", /* 519 */ "ERRNO_520", /* 520 */ "EBADHANDLE", /* 521 */