Jeff Layton
bfcec70874
audit: set the name_len in audit_inode for parent lookups
...
Currently, this gets set mostly by happenstance when we call into
audit_inode_child. While that might be a little more efficient, it seems
wrong. If the syscall ends up failing before audit_inode_child ever gets
called, then you'll have an audit_names record that shows the full path
but has the parent inode info attached.
Fix this by passing in a parent flag when we call audit_inode that gets
set to the value of LOOKUP_PARENT. We can then fix up the pathname for
the audit entry correctly from the get-go.
While we're at it, clean up the no-op macro for audit_inode in the
!CONFIG_AUDITSYSCALL case.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-12 00:32:01 -04:00
..
2012-10-12 09:59:23 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-11 10:21:16 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-12 00:32:00 -04:00
2012-10-09 23:33:55 -04:00
2012-10-10 10:48:32 +09:00
2012-10-02 21:35:55 -04:00
2012-09-18 01:01:37 -07:00
2012-09-21 03:13:08 -07:00
2012-10-02 11:11:09 -07:00
2012-10-02 13:38:27 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-12 10:52:03 +09:00
2012-10-02 20:25:04 -07:00
2012-10-09 23:33:38 -04:00
2012-10-09 16:22:17 +09:00
2012-10-09 23:33:38 -04:00
2012-10-02 20:25:04 -07:00
2012-10-09 16:22:17 +09:00
2012-10-09 23:33:55 -04:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-10 11:15:20 +09:00
2012-10-09 23:33:38 -04:00
2012-10-09 22:34:52 +02:00
2012-10-09 16:22:39 +09:00
2012-10-09 23:33:55 -04:00
2012-09-12 15:52:03 +02:00
2012-10-08 06:36:39 +09:00
2012-10-09 15:04:25 +01:00
2012-10-03 08:48:21 -07:00
2012-10-10 23:52:35 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-10 23:52:35 +09:00
2012-10-02 20:25:04 -07:00
2012-10-09 16:22:17 +09:00
2012-09-26 22:20:08 -04:00
2012-10-02 20:25:04 -07:00
2012-10-09 16:22:17 +09:00
2012-10-06 03:05:31 +09:00
2012-10-02 21:35:55 -04:00
2012-10-09 16:23:00 +09:00
2012-09-20 17:04:50 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 20:25:04 -07:00
2012-10-02 11:11:09 -07:00
2012-10-09 23:33:55 -04:00
2012-10-02 21:35:55 -04:00
2012-10-02 20:25:04 -07:00
2012-09-04 16:11:31 -07:00
2012-10-09 23:33:39 -04:00
2012-10-09 16:22:17 +09:00
2012-10-04 09:14:01 -07:00
2012-10-09 23:33:39 -04:00
2012-10-09 23:33:55 -04:00
2012-09-07 14:57:46 -04:00
2012-10-06 03:05:16 +09:00
2012-10-10 12:02:25 +09:00
2012-10-10 12:02:25 +09:00
2012-10-06 03:05:16 +09:00
2012-09-09 10:35:38 +02:00
2012-09-28 10:38:48 +02:00
2012-10-11 09:04:23 +09:00
2012-10-08 06:36:39 +09:00
2012-10-06 03:05:17 +09:00
2012-10-02 20:25:04 -07:00
2012-10-02 21:35:55 -04:00
2012-10-06 03:05:16 +09:00
2012-10-06 03:05:15 +09:00
2012-10-02 20:25:04 -07:00
2012-10-06 03:05:00 +09:00
2012-10-10 12:02:25 +09:00
2012-10-09 15:52:31 +09:00
2012-09-26 22:20:08 -04:00
2012-10-10 01:15:44 -04:00
2012-10-09 23:33:38 -04:00
2012-10-12 10:46:03 +09:00
2012-09-18 01:01:35 -07:00
2012-10-09 16:22:39 +09:00
2012-09-26 22:20:08 -04:00
2012-10-06 03:05:15 +09:00
2012-09-05 10:59:30 +02:00
2012-09-26 22:20:08 -04:00
2012-10-06 03:05:15 +09:00
2012-10-12 00:32:01 -04:00
2012-10-11 20:02:04 -04:00
2012-10-12 00:32:01 -04:00
2012-09-26 21:08:52 -04:00
2012-09-18 01:01:35 -07:00
2012-10-02 21:35:55 -04:00
2012-10-02 21:35:55 -04:00
2012-09-26 22:20:08 -04:00
2012-09-26 22:20:08 -04:00
2012-09-26 22:20:08 -04:00
2012-09-26 22:20:08 -04:00
2012-10-02 20:25:04 -07:00
2012-09-26 22:20:08 -04:00
2012-10-09 23:33:39 -04:00
2012-09-26 22:20:08 -04:00
2012-09-26 22:20:08 -04:00
2012-09-26 22:20:08 -04:00
2012-09-18 01:01:35 -07:00
2012-10-12 00:32:01 -04:00