MFC r326282: (by fsu)

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.
This commit is contained in:
Pedro F. Giffuni 2017-12-12 22:10:12 +00:00
parent 55dc07245b
commit 4173b7bb35
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=326814
3 changed files with 3 additions and 3 deletions

View File

@ -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
};

View File

@ -146,7 +146,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
};

View File

@ -145,7 +145,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
};