Extend comment describing path canonicalisation in audit.
Sponsored by: DARPA, AFRL Obtained from: TrustedBSD Project MFC after: 3 days
This commit is contained in:
parent
1a8fbf8eae
commit
4315cc14ea
@ -708,7 +708,8 @@ audit_arg_file(struct proc *p, struct file *fp)
|
|||||||
* Store a path as given by the user process for auditing into the audit
|
* 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
|
* 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
|
* 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
|
static void
|
||||||
audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp)
|
audit_arg_upath(struct thread *td, int dirfd, char *upath, char **pathp)
|
||||||
|
Loading…
Reference in New Issue
Block a user