[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Return EOPNOTSUPP instead of ENOSYS for *xattr*
From: |
François Revol |
Subject: |
Re: [Qemu-devel] [PATCH] Return EOPNOTSUPP instead of ENOSYS for *xattr* syscalls |
Date: |
Tue, 21 Apr 2009 12:23:41 +0200 CEST |
>
> In current code, we're sending ENOSYS to target when a syscall for
> the
> xattrs is done. This makes applications like ls complain loudly about
> that and breaks scripts parsing the output. Moreover, iirc,
> implemented
> features of filesystems are are sending EOPNOTSUPP (I've not checked
> so
> I may be a little bit wrong on that...).
> So, I'm proposing to return -EOPNOTSUPP and make ls happy.
>
> As a side not, I'd like to know if there's a reason for not having
> implemented the *xattr* syscalls support. If someone has a clue,
> please
> share it :).
Possibly to avoid endianness issues with binary data ?
François.