comparison src/hotspot/os/posix/os_posix.hpp @ 53553:f7f90fddce02

8211326: add OS user related information to hs_err file Reviewed-by: dholmes, stuefe
author mbaesken
date Thu, 15 Nov 2018 17:08:59 +0100
parents f1bb77833b59
children 9807daeb47c4
comparison
equal deleted inserted replaced
4:da7659593002 5:b17a2ad271fd
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);