Lines Matching defs:uid
43 bool checkTag(uint64_t tag, uid_t uid);
124 * tag + uid. But it is not fool proof.
129 bool SockInfo::checkTag(uint64_t acct_tag, uid_t uid) {
154 asprintf(&match_template, "sock=%lx %s", addr, "tag=0x%llx (uid=%u)");
158 asprintf(&match_template, "%s", " tag=0x%llx (uid=%u)");
161 full_tag = acct_tag | uid;
163 asprintf(&buff, match_template, full_tag | uid, uid);
170 "sock=%lx tag=0x%llx (uid=%lu) pid=%u f_count=%lu",
172 if (!(res == 5 && k_tag == full_tag && k_uid == uid)) {
201 testPrintI("* start: pid=%lu uid=%lu uid1=0x%lx/%lu uid2=0x%lx/%lu"
315 // no tag, no uid
327 // Valid tag with no uid
361 // Re-tag with uid change