Searched refs:cached_use (Results 1 - 4 of 4) sorted by relevance

/systemd/src/shared/
H A Dapparmor-util.c28 static int cached_use = -1; local
30 if (cached_use < 0) {
33 cached_use =
38 return cached_use;
/systemd/src/basic/
H A Daudit-util.c89 static int cached_use = -1; local
91 if (cached_use < 0) {
96 cached_use = errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT;
98 cached_use = true;
103 return cached_use;
H A Dsmack-util.c40 static int cached_use = -1; local
42 if (cached_use < 0)
43 cached_use = access("/sys/fs/smackfs/", F_OK) >= 0;
45 return cached_use;
H A Dselinux-util.c50 static int cached_use = -1; variable
58 if (cached_use < 0)
59 cached_use = is_selinux_enabled() > 0;
61 return cached_use;
79 cached_use = -1;

Completed in 1145 milliseconds