30c30
< * $FreeBSD: head/sys/security/audit/audit_worker.c 159332 2006-06-06 08:43:27Z rwatson $
---
> * $FreeBSD: head/sys/security/audit/audit_worker.c 162380 2006-09-17 17:52:57Z csjp $
326c326
< (ar->k_ar_commit & AR_PRESELECT_TRAIL)) {
---
> (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) {
333a334
>
335c336
< (ar->k_ar_commit & AR_PRESELECT_PIPE))
---
> (ar->k_ar_commit & AR_PRESELECT_USER_PIPE))
338c339,341
< if (!(ar->k_ar_commit & AR_COMMIT_KERNEL))
---
> if (!(ar->k_ar_commit & AR_COMMIT_KERNEL) ||
> ((ar->k_ar_commit & AR_PRESELECT_PIPE) == 0 &&
> (ar->k_ar_commit & AR_PRESELECT_TRAIL) == 0))
374a378
>
< * $FreeBSD: head/sys/security/audit/audit_worker.c 159332 2006-06-06 08:43:27Z rwatson $
---
> * $FreeBSD: head/sys/security/audit/audit_worker.c 162380 2006-09-17 17:52:57Z csjp $
326c326
< (ar->k_ar_commit & AR_PRESELECT_TRAIL)) {
---
> (ar->k_ar_commit & AR_PRESELECT_USER_TRAIL)) {
333a334
>
335c336
< (ar->k_ar_commit & AR_PRESELECT_PIPE))
---
> (ar->k_ar_commit & AR_PRESELECT_USER_PIPE))
338c339,341
< if (!(ar->k_ar_commit & AR_COMMIT_KERNEL))
---
> if (!(ar->k_ar_commit & AR_COMMIT_KERNEL) ||
> ((ar->k_ar_commit & AR_PRESELECT_PIPE) == 0 &&
> (ar->k_ar_commit & AR_PRESELECT_TRAIL) == 0))
374a378
>