diff mbox

patch: opening 'security.' xattr namespace

Message ID AANLkTimR7wJunc-oyixPv0uS5+25_CxMceEAcDOPTGdz@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Brian Chrisman March 24, 2011, 8:12 p.m. UTC
None
diff mbox

Patch

diff --git a/src/client/Client.cc b/src/client/Client.cc
index 540d91c..3930604 100644
--- a/src/client/Client.cc
+++ b/src/client/Client.cc
@@ -5674,7 +5674,7 @@  int Client::ll_setxattr(vinodeno_t vino, const
char *name, const void *value, si
   tout << name << std::endl;

   // only user xattrs, for now
-  if (strncmp(name, "user.", 5))
+  if (strncmp(name, "user.", 5) || strncmp(name, "security.", 9))
     return -EOPNOTSUPP;