whitespace fixes: syscall auditing

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Daniel Walker 2007-10-18 03:06:09 -07:00 committed by Linus Torvalds
parent 314f70fd96
commit 9f8dbe9c9c

View File

@ -320,7 +320,7 @@ static int audit_filter_rules(struct task_struct *tsk,
result = audit_comparator(tsk->personality, f->op, f->val); result = audit_comparator(tsk->personality, f->op, f->val);
break; break;
case AUDIT_ARCH: case AUDIT_ARCH:
if (ctx) if (ctx)
result = audit_comparator(ctx->arch, f->op, f->val); result = audit_comparator(ctx->arch, f->op, f->val);
break; break;
@ -898,7 +898,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
if (context->personality != PER_LINUX) if (context->personality != PER_LINUX)
audit_log_format(ab, " per=%lx", context->personality); audit_log_format(ab, " per=%lx", context->personality);
if (context->return_valid) if (context->return_valid)
audit_log_format(ab, " success=%s exit=%ld", audit_log_format(ab, " success=%s exit=%ld",
(context->return_valid==AUDITSC_SUCCESS)?"yes":"no", (context->return_valid==AUDITSC_SUCCESS)?"yes":"no",
context->return_code); context->return_code);
@ -1135,8 +1135,8 @@ void audit_free(struct task_struct *tsk)
return; return;
/* Check for system calls that do not go through the exit /* Check for system calls that do not go through the exit
* function (e.g., exit_group), then free context block. * function (e.g., exit_group), then free context block.
* We use GFP_ATOMIC here because we might be doing this * We use GFP_ATOMIC here because we might be doing this
* in the context of the idle thread */ * in the context of the idle thread */
/* that can happen only if we are called from do_exit() */ /* that can happen only if we are called from do_exit() */
if (context->in_syscall && context->auditable) if (context->in_syscall && context->auditable)
@ -1316,7 +1316,7 @@ void __audit_getname(const char *name)
context->pwdmnt = mntget(current->fs->pwdmnt); context->pwdmnt = mntget(current->fs->pwdmnt);
read_unlock(&current->fs->lock); read_unlock(&current->fs->lock);
} }
} }
/* audit_putname - intercept a putname request /* audit_putname - intercept a putname request