[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Return EOPNOTSUPP instead of ENOSYS for *xattr*
Re: [Qemu-devel] [PATCH] Return EOPNOTSUPP instead of ENOSYS for *xattr* syscalls
Tue, 21 Apr 2009 12:23:41 +0200 CEST
> In current code, we're sending ENOSYS to target when a syscall for
> xattrs is done. This makes applications like ls complain loudly about
> that and breaks scripts parsing the output. Moreover, iirc,
> features of filesystems are are sending EOPNOTSUPP (I've not checked
> 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,
> share it :).
Possibly to avoid endianness issues with binary data ?