Searched refs:uidhash (Results 1 – 1 of 1) sorted by relevance
/titanic_44/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 111 static hashtable_t uidhash[UIDHASHSIZE]; variable 441 if (uid != uidhash[ix].ht_key) { in getuname() 442 uidhash[ix].ht_key = uid; in getuname() 445 l = snprintf(uidhash[ix].ht_value, USERNAMELEN, in getuname() 448 l = strlcpy(uidhash[ix].ht_value, pw.pw_name, in getuname() 451 uidhash[ix].ht_length = l; in getuname() 453 l = uidhash[ix].ht_length + 1; in getuname() 456 (void) memcpy(p, uidhash[ix].ht_value, l); in getuname() 882 if (init_hash(uidhash, -2, UIDHASHSIZE, USERNAMELEN)) in auditd_plugin_open() 907 free_hash(uidhash, UIDHASHSIZE); in auditd_plugin_close()
|