Searched refs:uidhash (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 113 static hashtable_t uidhash[UIDHASHSIZE]; variable 443 if (uid != uidhash[ix].ht_key) { in getuname() 444 uidhash[ix].ht_key = uid; in getuname() 447 l = snprintf(uidhash[ix].ht_value, USERNAMELEN, in getuname() 450 l = strlcpy(uidhash[ix].ht_value, pw.pw_name, in getuname() 453 uidhash[ix].ht_length = l; in getuname() 455 l = uidhash[ix].ht_length + 1; in getuname() 458 (void) memcpy(p, uidhash[ix].ht_value, l); in getuname() 884 if (init_hash(uidhash, -2, UIDHASHSIZE, USERNAMELEN)) in auditd_plugin_open() 909 free_hash(uidhash, UIDHASHSIZE); in auditd_plugin_close()
|