From owner-svn-src-head@freebsd.org Mon Nov 27 20:43:44 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B608CDE7AFC; Mon, 27 Nov 2017 20:43:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 936B663879; Mon, 27 Nov 2017 20:43:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 966A310AF2A; Mon, 27 Nov 2017 15:43:43 -0500 (EST) From: John Baldwin To: Fedor Uporov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326282 - in head/sys: amd64/linux amd64/linux32 i386/linux Date: Mon, 27 Nov 2017 11:27:35 -0800 Message-ID: <2015849.BP9pEIm6Xk@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <201711271703.vARH3B5c049482@repo.freebsd.org> References: <201711271703.vARH3B5c049482@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 27 Nov 2017 15:43:43 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 20:43:44 -0000 On Monday, November 27, 2017 05:03:11 PM Fedor Uporov wrote: > Author: fsu > Date: Mon Nov 27 17:03:11 2017 > New Revision: 326282 > URL: https://svnweb.freebsd.org/changeset/base/326282 > > Log: > Remap ENOATTR to ENODATA in the linuxulator. > In the linux ENOADATA is frequently #defined as ENOATTR. > The change is required for an xattrs support implementation. > > MFC after: 1 week > Discussed with: netchild > Approved by: pfg Please also update the table in lib/libsysdecode/errno.c (bsd_to_linux_errno[]). It is kind of crummy to have 4 identical copies of this table. We should probably move it into some shared header file (libsysdecode already depends on files from sys/, so the header could live in sys/, maybe sys/x86/linux/errno.h or some such, or if it is MI sys/compat/linux/linux_errno.h) -- John Baldwin