diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-03-01 11:04:04 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-03-01 11:04:04 +0000 |
commit | ac01550a5d6909f842cfa53ec432e8b15ac34125 (patch) | |
tree | 73367db672829b943652471c77432a4ce3ac1fe1 /sys/security/audit/audit_worker.c | |
parent | 2a54dcf3f7ed852b46cd6988d2dcd88e2419a5de (diff) | |
download | FreeBSD-src-ac01550a5d6909f842cfa53ec432e8b15ac34125.zip FreeBSD-src-ac01550a5d6909f842cfa53ec432e8b15ac34125.tar.gz |
Rename globally exposed symbol send_trigger() to audit_send_trigger().
MFC after: 1 month
Diffstat (limited to 'sys/security/audit/audit_worker.c')
-rw-r--r-- | sys/security/audit/audit_worker.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c index 467c5b2..6bff3e7 100644 --- a/sys/security/audit/audit_worker.c +++ b/sys/security/audit/audit_worker.c @@ -177,7 +177,8 @@ audit_record_write(struct vnode *vp, struct ucred *cred, void *data, if (mnt_stat->f_bfree < temp) { if (ppsratecheck(&last_lowspace_trigger, &cur_lowspace_trigger, 1)) { - (void)send_trigger(AUDIT_TRIGGER_LOW_SPACE); + (void)audit_send_trigger( + AUDIT_TRIGGER_LOW_SPACE); printf("Warning: audit space low\n"); } } @@ -193,7 +194,7 @@ audit_record_write(struct vnode *vp, struct ucred *cred, void *data, sx_assert(&audit_worker_sx, SA_XLOCKED); audit_file_rotate_wait = 1; - (void)send_trigger(AUDIT_TRIGGER_ROTATE_KERNEL); + (void)audit_send_trigger(AUDIT_TRIGGER_ROTATE_KERNEL); } /* @@ -265,7 +266,7 @@ fail_enospc: VOP_UNLOCK(vp, 0); panic("Audit log space exhausted and fail-stop set."); } - (void)send_trigger(AUDIT_TRIGGER_NO_SPACE); + (void)audit_send_trigger(AUDIT_TRIGGER_NO_SPACE); audit_suspended = 1; /* FALLTHROUGH */ |