diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2009-02-04 19:56:37 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2009-02-04 19:56:37 +0000 |
| commit | 91e832e0c3f1d3b2ae7eb9b38d2ee8a2cd0cbc12 (patch) | |
| tree | 2ea4536e07e150edcb11edb447eb1f69d786a6b8 /sys/security/audit | |
| parent | 148a5cf9e81981bfe95e6fc1b3b11d59788e4c41 (diff) | |
Notes
Diffstat (limited to 'sys/security/audit')
| -rw-r--r-- | sys/security/audit/audit_pipe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c index afc7d5473196..318f41dc2380 100644 --- a/sys/security/audit/audit_pipe.c +++ b/sys/security/audit/audit_pipe.c @@ -1077,18 +1077,13 @@ audit_pipe_kqfilter(struct cdev *dev, struct knote *kn) static int audit_pipe_kqread(struct knote *kn, long hint) { - struct audit_pipe_entry *ape; struct audit_pipe *ap; ap = (struct audit_pipe *)kn->kn_hook; KASSERT(ap != NULL, ("audit_pipe_kqread: ap == NULL")); - AUDIT_PIPE_LOCK_ASSERT(ap); if (ap->ap_qlen != 0) { - ape = TAILQ_FIRST(&ap->ap_queue); - KASSERT(ape != NULL, ("audit_pipe_kqread: ape == NULL")); - kn->kn_data = ap->ap_qbyteslen - ap->ap_qoffset; return (1); } else { |
