freebsd-dev/sys/security/audit
Pawel Jakub Dawidek 499f0f4d55 IFp4 @208451:
Fix path handling for *at() syscalls.

Before the change directory descriptor was totally ignored,
so the relative path argument was appended to current working
directory path and not to the path provided by descriptor, thus
wrong paths were stored in audit logs.

Now that we use directory descriptor in vfs_lookup, move
AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() calls to the place where
we hold file descriptors table lock, so we are sure paths will
be resolved according to the same directory in audit record and
in actual operation.

Sponsored by:	FreeBSD Foundation (auditdistd)
Reviewed by:	rwatson
MFC after:	2 weeks
2012-11-30 23:18:49 +00:00
..
audit_arg.c IFp4 @208451: 2012-11-30 23:18:49 +00:00
audit_bsm_domain.c Merge OpenBSM 1.1 changes to the FreeBSD 8.x kernel: 2009-04-19 14:53:17 +00:00
audit_bsm_errno.c Add ECAPMODE, "Not permitted in capability mode", a new kernel errno 2011-03-01 13:14:28 +00:00
audit_bsm_fcntl.c Merge OpenBSM 1.1 changes to the FreeBSD 8.x kernel: 2009-04-19 14:53:17 +00:00
audit_bsm_klib.c IFp4 @208451: 2012-11-30 23:18:49 +00:00
audit_bsm_socket_type.c Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both 2009-01-14 10:44:16 +00:00
audit_bsm_token.c Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
audit_bsm.c Provide ability to audit cap_rights_t arguments. 2011-07-18 12:58:18 +00:00
audit_ioctl.h Don't expose #ifdef NOTYET parts to userspace via audit_ioctl.h, just 2007-04-29 16:20:32 +00:00
audit_pipe.c Get rid of D_PSEUDO. 2011-10-18 08:09:44 +00:00
audit_private.h IFp4 @208451: 2012-11-30 23:18:49 +00:00
audit_syscalls.c Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
audit_trigger.c Generally avoid <space><tab> as a white space anomoly. 2008-07-22 16:44:48 +00:00
audit_worker.c IFp4 @208383: 2012-11-30 23:03:51 +00:00
audit.c IFp4 @208451: 2012-11-30 23:18:49 +00:00
audit.h IFp4 @208451: 2012-11-30 23:18:49 +00:00