path: root/guts/README
diff options
authorPeter Seebach <peter.seebach@windriver.com>2010-10-11 11:55:30 -0500
committerPeter Seebach <peter.seebach@windriver.com>2010-10-11 16:11:50 -0500
commit489ed5e89f040febcb605f22187968f597211205 (patch)
tree1c853bcd159394d667a91ee67f0f6fd621ab6aac /guts/README
parentb8e2778c1bb5654df478efe7d3861ed30529409b (diff)
Add the other *xattr() wrappers (all ENOTSUP) for consistency.
Note that this replaces an existing getxattr() wrapper which canonicalized pathnames for use in a chroot() environment. The need for that to work in some possible future may require us to revisit this.
Diffstat (limited to 'guts/README')
1 files changed, 6 insertions, 0 deletions
diff --git a/guts/README b/guts/README
index 02afa8c..8bfbfe6 100644
--- a/guts/README
+++ b/guts/README
@@ -200,3 +200,9 @@ the group file when called, rather than checking the group file once
"at login" (whatever that means in our context) and returning that saved
status. We don't think this matters. setgroups() just fails; this will
be corrected if we come up with a compelling reason to do so.
+The following functions set errnot to ENOTSUP and return -1; this is
+needed because we don't actually track or manage extended attributes, but
+a few programs attempt to use *setxattr() to set regular permissions,
+and only use a regular chmod if the *setxattr() call returns -1 and
+sets errno to ENOTSUP.