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:
parent
82e20c0a72
commit
6651cf410c
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user