audit_pipe.c (29d4cb241b5b8d786221402075febdb832fea55a) audit_pipe.c (f6d4a8a77bbb032448b9331f308b4466d4e3b1cd)
1/*-
2 * Copyright (c) 2006 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * This software was developed by Robert Watson for the TrustedBSD Project.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 483 unchanged lines hidden (view full) ---

492 mtx_lock(&audit_pipe_mtx);
493 TAILQ_FOREACH(ap, &audit_pipe_list, ap_list)
494 audit_pipe_append(ap, record, record_len);
495 audit_pipe_records++;
496 mtx_unlock(&audit_pipe_mtx);
497 cv_broadcastpri(&audit_pipe_cv, PSOCK);
498}
499
1/*-
2 * Copyright (c) 2006 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * This software was developed by Robert Watson for the TrustedBSD Project.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 483 unchanged lines hidden (view full) ---

492 mtx_lock(&audit_pipe_mtx);
493 TAILQ_FOREACH(ap, &audit_pipe_list, ap_list)
494 audit_pipe_append(ap, record, record_len);
495 audit_pipe_records++;
496 mtx_unlock(&audit_pipe_mtx);
497 cv_broadcastpri(&audit_pipe_cv, PSOCK);
498}
499
500
501/*
502 * Pop the next record off of an audit pipe.
503 */
504static struct audit_pipe_entry *
505audit_pipe_pop(struct audit_pipe *ap)
506{
507 struct audit_pipe_entry *ape;
508

--- 550 unchanged lines hidden ---
500/*
501 * Pop the next record off of an audit pipe.
502 */
503static struct audit_pipe_entry *
504audit_pipe_pop(struct audit_pipe *ap)
505{
506 struct audit_pipe_entry *ape;
507

--- 550 unchanged lines hidden ---