diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-06-01 21:58:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-06-01 21:58:59 +0000 |
commit | 0d42b093e7f36d7c866b3b6b6e17ce42895f8782 (patch) | |
tree | fa59854bab6010bdcc0b455b5b42085a7529e952 /sys/security/audit/audit_arg.c | |
parent | 8266cab35be254d080c55c019e27154420e811c7 (diff) | |
download | FreeBSD-src-0d42b093e7f36d7c866b3b6b6e17ce42895f8782.zip FreeBSD-src-0d42b093e7f36d7c866b3b6b6e17ce42895f8782.tar.gz |
Clean up audit comments--formatting, spelling, etc.
Diffstat (limited to 'sys/security/audit/audit_arg.c')
-rw-r--r-- | sys/security/audit/audit_arg.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/sys/security/audit/audit_arg.c b/sys/security/audit/audit_arg.c index 9d2e241..b5e565a 100644 --- a/sys/security/audit/audit_arg.c +++ b/sys/security/audit/audit_arg.c @@ -51,11 +51,10 @@ /* * Calls to manipulate elements of the audit record structure from system - * call code. Macro wrappers will prevent this functions from being - * entered if auditing is disabled, avoiding the function call cost. We - * check the thread audit record pointer anyway, as the audit condition - * could change, and pre-selection may not have allocated an audit - * record for this event. + * call code. Macro wrappers will prevent this functions from being entered + * if auditing is disabled, avoiding the function call cost. We check the + * thread audit record pointer anyway, as the audit condition could change, + * and pre-selection may not have allocated an audit record for this event. * * XXXAUDIT: Should we assert, in each case, that this field of the record * hasn't already been filled in? @@ -693,11 +692,13 @@ audit_arg_upath(struct thread *td, char *upath, u_int64_t flag) * It is assumed that the caller will hold any vnode locks necessary to * perform a VOP_GETATTR() on the passed vnode. * - * XXX: The attr code is very similar to vfs_vnops.c:vn_stat(), but - * always provides access to the generation number as we need that - * to construct the BSM file ID. - * XXX: We should accept the process argument from the caller, since - * it's very likely they already have a reference. + * XXX: The attr code is very similar to vfs_vnops.c:vn_stat(), but always + * provides access to the generation number as we need that to construct the + * BSM file ID. + * + * XXX: We should accept the process argument from the caller, since it's + * very likely they already have a reference. + * * XXX: Error handling in this function is poor. * * XXXAUDIT: Possibly KASSERT the path pointer is NULL? |