Fix errno values returned from DUMMY_XATTR linuxulator calls

Reported by: weiss@uni-mainz.de
Reviewed by: markj
MFC after: 1 day
Differential Revision: https://reviews.freebsd.org/D18812
This commit is contained in:
fsu 2019-01-11 07:58:25 +00:00
parent 8550a9a67a
commit 8aa0301c63
4 changed files with 4 additions and 4 deletions

View File

@ -162,7 +162,7 @@ linux_ ## s ## xattr( \
struct thread *td, struct linux_ ## s ## xattr_args *arg) \
{ \
\
return (ENOATTR); \
return (EOPNOTSUPP); \
}
DUMMY_XATTR(set);
DUMMY_XATTR(lset);

View File

@ -168,7 +168,7 @@ linux_ ## s ## xattr( \
struct thread *td, struct linux_ ## s ## xattr_args *arg) \
{ \
\
return (ENOATTR); \
return (EOPNOTSUPP); \
}
DUMMY_XATTR(set);
DUMMY_XATTR(lset);

View File

@ -161,7 +161,7 @@ linux_ ## s ## xattr( \
struct thread *td, struct linux_ ## s ## xattr_args *arg) \
{ \
\
return (ENOATTR); \
return (EOPNOTSUPP); \
}
DUMMY_XATTR(set);
DUMMY_XATTR(lset);

View File

@ -164,7 +164,7 @@ linux_ ## s ## xattr( \
struct thread *td, struct linux_ ## s ## xattr_args *arg) \
{ \
\
return (ENOATTR); \
return (EOPNOTSUPP); \
}
DUMMY_XATTR(set);
DUMMY_XATTR(lset);