Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2218
b: refs/heads/master
c: 7551ced
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed May 26, 2005
1 parent c31108b commit a8f3f9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37ca5389b863e5ffba6fb7c22331bf57dbf7764a
refs/heads/master: 7551ced334ce6eb2a7a765309871e619f645add1
10 changes: 2 additions & 8 deletions trunk/kernel/auditsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ static void audit_log_exit(struct audit_context *context)
{
int i;
struct audit_buffer *ab;
struct audit_aux_data *aux;

ab = audit_log_start(context, AUDIT_SYSCALL);
if (!ab)
Expand Down Expand Up @@ -705,10 +706,8 @@ static void audit_log_exit(struct audit_context *context)
context->egid, context->sgid, context->fsgid);
audit_log_task_info(ab);
audit_log_end(ab);
while (context->aux) {
struct audit_aux_data *aux;

aux = context->aux;
for (aux = context->aux; aux; aux = aux->next) {

ab = audit_log_start(context, aux->type);
if (!ab)
Expand Down Expand Up @@ -740,15 +739,10 @@ static void audit_log_exit(struct audit_context *context)
case AUDIT_AVC_PATH: {
struct audit_aux_data_path *axi = (void *)aux;
audit_log_d_path(ab, "path=", axi->dentry, axi->mnt);
dput(axi->dentry);
mntput(axi->mnt);
break; }

}
audit_log_end(ab);

context->aux = aux->next;
kfree(aux);
}

for (i = 0; i < context->name_count; i++) {
Expand Down

0 comments on commit a8f3f9c

Please sign in to comment.