Searched refs:is_root (Results 1 – 1 of 1) sorted by relevance
261 static int is_root = -1; in IsRoot() local262 if (is_root == -1) { in IsRoot()264 is_root = (getuid() == 0) ? 1 : 0; in IsRoot()266 is_root = 0; in IsRoot()269 return is_root == 1; in IsRoot()