Lines Matching refs:secattr
566 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_lvl() argument
571 secattr->attr.mls.lvl = context->range.level[0].sens - 1; in mls_export_netlbl_lvl()
572 secattr->flags |= NETLBL_SECATTR_MLS_LVL; in mls_export_netlbl_lvl()
588 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_lvl() argument
593 context->range.level[0].sens = secattr->attr.mls.lvl + 1; in mls_import_netlbl_lvl()
610 struct netlbl_lsm_secattr *secattr) in mls_export_netlbl_cat() argument
618 &secattr->attr.mls.cat); in mls_export_netlbl_cat()
619 if (rc == 0 && secattr->attr.mls.cat != NULL) in mls_export_netlbl_cat()
620 secattr->flags |= NETLBL_SECATTR_MLS_CAT; in mls_export_netlbl_cat()
640 struct netlbl_lsm_secattr *secattr) in mls_import_netlbl_cat() argument
648 secattr->attr.mls.cat); in mls_import_netlbl_cat()