[PATCH] Define ENOATTR in 2.5 kernels

From: Andreas Gruenbacher (agruen@suse.de)
Date: Fri Aug 02 2002 - 12:25:13 EST


we already have a number of Extended Attribute system calls (*xattr) in the
2.5.x kernel. For implement them on file systems we also need the ENOATTR
error. It makes little sense to reuse an existing error number as glibc's
strerror() wouldn't be able to create an intelligent text message.

ENOATTR also exists on Irix and AIX. Error messages for ENOATTR should be
added to glibc once ENOATTR is defined in the kernel. I have attached a patch
against glibc that adds the English error text.

In addition to ENOATTR we also need to clarify the ENOTSUP / EOPNOTSUPP /
ENOTSUPP issue, which I have posted yesterday (with no comments so far).

For details concerning the xattr system calls you may find the manual pages
interesting, which are available as part of the attr-devel package, and
online at <http://acl.bestbits.at/man/man.shtml>.


 Andreas Gruenbacher SuSE Linux AG
 mailto:agruen@suse.de Deutschherrnstr. 15-19
 http://www.suse.de/ D-90429 Nuernberg, Germany

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:20 EST