patch: opening 'security.' xattr namespace

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

 



used by samba to store ACLs and by others.

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;

   Inode *in = _ll_get_inode(vino);
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux