diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/auditsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 2e481141b014..40743af02d8f 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
| @@ -2166,9 +2166,9 @@ out: | |||
| 2166 | } | 2166 | } |
| 2167 | 2167 | ||
| 2168 | /** | 2168 | /** |
| 2169 | * audit_inode_child - collect inode info for created/removed objects | 2169 | * __audit_inode_child - collect inode info for created/removed objects |
| 2170 | * @dentry: dentry being audited | ||
| 2171 | * @parent: inode of dentry parent | 2170 | * @parent: inode of dentry parent |
| 2171 | * @dentry: dentry being audited | ||
| 2172 | * | 2172 | * |
| 2173 | * For syscalls that create or remove filesystem objects, audit_inode | 2173 | * For syscalls that create or remove filesystem objects, audit_inode |
| 2174 | * can only collect information for the filesystem object's parent. | 2174 | * can only collect information for the filesystem object's parent. |
| @@ -2178,8 +2178,8 @@ out: | |||
| 2178 | * must be hooked prior, in order to capture the target inode during | 2178 | * must be hooked prior, in order to capture the target inode during |
| 2179 | * unsuccessful attempts. | 2179 | * unsuccessful attempts. |
| 2180 | */ | 2180 | */ |
| 2181 | void __audit_inode_child(const struct dentry *dentry, | 2181 | void __audit_inode_child(const struct inode *parent, |
| 2182 | const struct inode *parent) | 2182 | const struct dentry *dentry) |
| 2183 | { | 2183 | { |
| 2184 | struct audit_context *context = current->audit_context; | 2184 | struct audit_context *context = current->audit_context; |
| 2185 | const char *found_parent = NULL, *found_child = NULL; | 2185 | const char *found_parent = NULL, *found_child = NULL; |
