Lines Matching refs:rd
131 int rd; /* audit record descriptor */
174 rd = au_open();
177 (void) au_write(rd, au_to_subject_ex(uid, uid, gid,
181 (void) au_write(rd, au_to_mylabel());
192 (void) au_write(rd, au_to_text(buf));
194 (void) au_write(rd, au_to_return64(-1, (int64_t)err));
196 (void) au_write(rd, au_to_return32(-1, (int32_t)err));
200 (void) au_write(rd, au_to_return64(0, (int64_t)0));
202 (void) au_write(rd, au_to_return32(0, (int32_t)0));
207 if (au_close(rd, 1, AUE_ftpd) < 0) {
208 (void) au_close(rd, 0, 0);
247 int rd; /* audit record descriptor */
280 rd = au_open();
283 (void) au_write(rd, au_to_subject_ex(info.ai_auid, euid,
287 (void) au_write(rd, au_to_mylabel());
292 (void) au_write(rd, au_to_return64(0, (int64_t)0));
294 (void) au_write(rd, au_to_return32(0, (int32_t)0));
298 if (au_close(rd, 1, AUE_ftpd_logout) < 0) {
299 (void) au_close(rd, 0, 0);