Lines Matching refs:fcon
260 for fcon in flist:
262 print("File Context reference: %s" % fcon)
263 expr = semanage.semanage_fcontext_get_expr(fcon)
264 type = semanage.semanage_fcontext_get_type(fcon)
266 con = semanage.semanage_fcontext_get_con(fcon)
274 semanage.semanage_fcontext_free(fcon)
687 (status, fcon) = semanage.semanage_fcontext_create(sh)
693 status = semanage.semanage_fcontext_set_expr(sh, fcon, "/test/fcontext(/.*)?")
697 print("SEFContext expr set: %s" % semanage.semanage_fcontext_get_expr(fcon))
699 semanage.semanage_fcontext_set_type(fcon, semanage.SEMANAGE_FCONTEXT_REG)
701 ftype = semanage.semanage_fcontext_get_type(fcon)
734 status = semanage.semanage_fcontext_set_con(sh, fcon, con)
740 (status, key) = semanage.semanage_fcontext_key_extract(sh, fcon)
764 status = semanage.semanage_fcontext_modify_local(sh, key, fcon)
799 semanage.semanage_fcontext_free(fcon)