equal
deleted
inserted
replaced
114 static bool matches_effective_uid_or_root(uid_t uid); |
114 static bool matches_effective_uid_or_root(uid_t uid); |
115 |
115 |
116 // Returns true if either given uid is effective uid and given gid is |
116 // Returns true if either given uid is effective uid and given gid is |
117 // effective gid, or if given uid is root. |
117 // effective gid, or if given uid is root. |
118 static bool matches_effective_uid_and_gid_or_root(uid_t uid, gid_t gid); |
118 static bool matches_effective_uid_and_gid_or_root(uid_t uid, gid_t gid); |
|
119 |
|
120 static void print_umask(outputStream* st, mode_t umsk); |
|
121 |
|
122 static void print_user_info(outputStream* st); |
119 |
123 |
120 #ifdef SUPPORTS_CLOCK_MONOTONIC |
124 #ifdef SUPPORTS_CLOCK_MONOTONIC |
121 |
125 |
122 static bool supports_monotonic_clock(); |
126 static bool supports_monotonic_clock(); |
123 static int clock_gettime(clockid_t clock_id, struct timespec *tp); |
127 static int clock_gettime(clockid_t clock_id, struct timespec *tp); |