Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 17:03:11 +0000 (UTC)
From:      Fedor Uporov <fsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326282 - in head/sys: amd64/linux amd64/linux32 i386/linux
Message-ID:  <201711271703.vARH3B5c049482@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  
  Differential Revision: https://reviews.freebsd.org/D13221

Modified:
  head/sys/amd64/linux/linux_sysvec.c
  head/sys/amd64/linux32/linux32_sysvec.c
  head/sys/i386/linux/linux_sysvec.c

Modified: head/sys/amd64/linux/linux_sysvec.c
==============================================================================
--- head/sys/amd64/linux/linux_sysvec.c	Mon Nov 27 16:28:28 2017	(r326281)
+++ head/sys/amd64/linux/linux_sysvec.c	Mon Nov 27 17:03:11 2017	(r326282)
@@ -147,7 +147,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
 	-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
 	-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
 	-116, -66,  -6,  -6,  -6,  -6,  -6, -37, -38,  -9,
-	  -6,  -6, -43, -42, -75,-125, -84, -95, -16, -74,
+	  -6,  -6, -43, -42, -75,-125, -84, -61, -16, -74,
 	 -72, -67, -71
 };
 

Modified: head/sys/amd64/linux32/linux32_sysvec.c
==============================================================================
--- head/sys/amd64/linux32/linux32_sysvec.c	Mon Nov 27 16:28:28 2017	(r326281)
+++ head/sys/amd64/linux32/linux32_sysvec.c	Mon Nov 27 17:03:11 2017	(r326282)
@@ -148,7 +148,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
 	-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
 	-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
 	-116, -66,  -6,  -6,  -6,  -6,  -6, -37, -38,  -9,
-	  -6,  -6, -43, -42, -75,-125, -84, -95, -16, -74,
+	  -6,  -6, -43, -42, -75,-125, -84, -61, -16, -74,
 	 -72, -67, -71
 };
 

Modified: head/sys/i386/linux/linux_sysvec.c
==============================================================================
--- head/sys/i386/linux/linux_sysvec.c	Mon Nov 27 16:28:28 2017	(r326281)
+++ head/sys/i386/linux/linux_sysvec.c	Mon Nov 27 17:03:11 2017	(r326282)
@@ -147,7 +147,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
 	-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
 	-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
 	-116, -66,  -6,  -6,  -6,  -6,  -6, -37, -38,  -9,
-	  -6,  -6, -43, -42, -75,-125, -84, -95, -16, -74,
+	  -6,  -6, -43, -42, -75,-125, -84, -61, -16, -74,
 	 -72, -67, -71
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711271703.vARH3B5c049482>