Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-6] src/sys

Module Name:    src
Committed By:   riz
Date:           Sat May 19 15:03:32 UTC 2012

Modified Files:
        src/sys/kern [netbsd-6]: vfs_xattr.c
        src/sys/ufs/ufs [netbsd-6]: ufs_extattr.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #260):
        sys/kern/vfs_xattr.c: revision 1.31
        sys/ufs/ufs/ufs_extattr.c: revision 1.39
Return ENODATA when no attribute is found, like Linux does. After
all we decided to adopt the Linux API, therefore there is rationale
to stick to it.
No standard tells us what to do, and our extended attribute API has not
been used in a release, therefore we do not break anything, and we get
more easily compatible with programs using the Linux extended attribute
Note that FreeBSD and MacOS X return ENOATTR. FreeBSD has its own API
and MacOS X has a Linux-like API. How did the world get so complicated?

To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.29.6.1 src/sys/kern/vfs_xattr.c
cvs rdiff -u -r1.36 -r1.36.2.1 src/sys/ufs/ufs/ufs_extattr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index