* [lustre-devel] [PATCH] lustre: llite: Remove filtering of seclabel xattr
@ 2017-05-17 14:17 Robin Humble
0 siblings, 0 replies; only message in thread
From: Robin Humble @ 2017-05-17 14:17 UTC (permalink / raw)
To: lustre-devel
Signed-off-by: Robin Humble <plaguedbypenguins@gmail.com>
---
lustre/llite/xattr.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/lustre/llite/xattr.c b/lustre/llite/xattr.c
index 4d42956..527ee40 100644
--- a/lustre/llite/xattr.c
+++ b/lustre/llite/xattr.c
@@ -147,11 +147,6 @@ int ll_setxattr_common(struct inode *inode, const char *name,
strcmp(name, "lustre.lov") == 0))
RETURN(0);
- /* b15587: ignore security.capability xattr for now */
- if ((xattr_type == XATTR_SECURITY_T &&
- strcmp(name, "security.capability") == 0))
- RETURN(0);
-
/* LU-549: Disable security.selinux when selinux is disabled */
if (xattr_type == XATTR_SECURITY_T && !selinux_is_enabled() &&
strcmp(name, "security.selinux") == 0)
@@ -343,11 +338,6 @@ int ll_getxattr_common(struct inode *inode, const char *name,
if (rc)
RETURN(rc);
- /* b15587: ignore security.capability xattr for now */
- if ((xattr_type == XATTR_SECURITY_T &&
- strcmp(name, "security.capability") == 0))
- RETURN(-ENODATA);
-
/* LU-549: Disable security.selinux when selinux is disabled */
if (xattr_type == XATTR_SECURITY_T && !selinux_is_enabled() &&
strcmp(name, "security.selinux") == 0)
--
2.9.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-05-17 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 14:17 [lustre-devel] [PATCH] lustre: llite: Remove filtering of seclabel xattr Robin Humble
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.