Whamcloud - gitweb
LU-8955 ptlrpc: manage SELinux policy info at connect time
[fs/lustre-release.git] / lustre / include / lustre_export.h
index 50c427b..5cf29e1 100644 (file)
@@ -466,6 +466,11 @@ static inline int exp_connect_archive_id_array(struct obd_export *exp)
        return !!(exp_connect_flags2(exp) & OBD_CONNECT2_ARCHIVE_ID_ARRAY);
 }
 
+static inline int exp_connect_sepol(struct obd_export *exp)
+{
+       return !!(exp_connect_flags2(exp) & OBD_CONNECT2_SELINUX_POLICY);
+}
+
 enum {
        /* archive_ids in array format */
        KKUC_CT_DATA_ARRAY_MAGIC        = 0x092013cea,