svn commit: r316015 - head/sys/security/audit
Robert Watson
rwatson at FreeBSD.org
Mon Mar 27 08:29:19 UTC 2017
Author: rwatson
Date: Mon Mar 27 08:29:17 2017
New Revision: 316015
URL: https://svnweb.freebsd.org/changeset/base/316015
Log:
Extend comment describing path canonicalisation in audit.
Sponsored by: DARPA, AFRL
Obtained from: TrustedBSD Project
MFC after: 3 days
Modified:
head/sys/security/audit/audit_arg.c
Modified: head/sys/security/audit/audit_arg.c
==============================================================================
--- head/sys/security/audit/audit_arg.c Mon Mar 27 08:29:02 2017 (r316014)
+++ head/sys/security/audit/audit_arg.c Mon Mar 27 08:29:17 2017 (r316015)
@@ -708,7 +708,8 @@ audit_arg_file(struct proc *p, struct fi
* Store a path as given by the user process for auditing into the audit
* record stored on the user thread. This function will allocate the memory
* to store the path info if not already available. This memory will be
- * freed when the audit record is freed.
+ * freed when the audit record is freed. The path is canonlicalised with
+ * respect to the thread and directory descriptor passed.
*/
static void
audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp)
More information about the svn-src-head
mailing list