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

/macosx-10.10.1/gnutar-453/gnutar/src/
H A Dextract.c47 static bool we_are_root; /* true if our effective uid == 0 */ variable
132 we_are_root = geteuid () == 0;
133 same_permissions_option += we_are_root;
134 same_owner_option += we_are_root;
495 invert_permissions = we_are_root ? 0 : MODE_WXUSR & ~ mode;
706 mode = current_stat_info.stat.st_mode | (we_are_root ? 0 : MODE_WXUSR);

Completed in 107 milliseconds