Searched refs:cached_use (Results 1 – 2 of 2) sorted by relevance
37 static int cached_use = -1; in mac_smack_use() local39 if (cached_use < 0) in mac_smack_use()40 cached_use = access("/sys/fs/smackfs/", F_OK) >= 0; in mac_smack_use()42 return cached_use; in mac_smack_use()
43 static int cached_use = -1; variable51 if (cached_use < 0) in mac_selinux_use()52 cached_use = is_selinux_enabled() > 0; in mac_selinux_use()54 return cached_use; in mac_selinux_use()62 cached_use = -1; in mac_selinux_retest()