diff options
author | Daniel Walker <dwalker@mvista.com> | 2007-10-18 06:06:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:25 -0400 |
commit | 9f8dbe9c9ccd847b07a374f92f3c71251e5789cf (patch) | |
tree | 187542cab2b08bdc97a29ef11efba7c2de5a1eb6 /kernel/auditsc.c | |
parent | 314f70fd967064c7fa0734908f5feae6ac2831a9 (diff) |
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>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r-- | kernel/auditsc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 938e60a61882..e19b5a33aede 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c | |||
@@ -320,7 +320,7 @@ static int audit_filter_rules(struct task_struct *tsk, | |||
320 | result = audit_comparator(tsk->personality, f->op, f->val); | 320 | result = audit_comparator(tsk->personality, f->op, f->val); |
321 | break; | 321 | break; |
322 | case AUDIT_ARCH: | 322 | case AUDIT_ARCH: |
323 | if (ctx) | 323 | if (ctx) |
324 | result = audit_comparator(ctx->arch, f->op, f->val); | 324 | result = audit_comparator(ctx->arch, f->op, f->val); |
325 | break; | 325 | break; |
326 | 326 | ||
@@ -898,7 +898,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts | |||
898 | if (context->personality != PER_LINUX) | 898 | if (context->personality != PER_LINUX) |
899 | audit_log_format(ab, " per=%lx", context->personality); | 899 | audit_log_format(ab, " per=%lx", context->personality); |
900 | if (context->return_valid) | 900 | if (context->return_valid) |
901 | audit_log_format(ab, " success=%s exit=%ld", | 901 | audit_log_format(ab, " success=%s exit=%ld", |
902 | (context->return_valid==AUDITSC_SUCCESS)?"yes":"no", | 902 | (context->return_valid==AUDITSC_SUCCESS)?"yes":"no", |
903 | context->return_code); | 903 | context->return_code); |
904 | 904 | ||
@@ -1135,8 +1135,8 @@ void audit_free(struct task_struct *tsk) | |||
1135 | return; | 1135 | return; |
1136 | 1136 | ||
1137 | /* Check for system calls that do not go through the exit | 1137 | /* Check for system calls that do not go through the exit |
1138 | * function (e.g., exit_group), then free context block. | 1138 | * function (e.g., exit_group), then free context block. |
1139 | * We use GFP_ATOMIC here because we might be doing this | 1139 | * We use GFP_ATOMIC here because we might be doing this |
1140 | * in the context of the idle thread */ | 1140 | * in the context of the idle thread */ |
1141 | /* that can happen only if we are called from do_exit() */ | 1141 | /* that can happen only if we are called from do_exit() */ |
1142 | if (context->in_syscall && context->auditable) | 1142 | if (context->in_syscall && context->auditable) |
@@ -1316,7 +1316,7 @@ void __audit_getname(const char *name) | |||
1316 | context->pwdmnt = mntget(current->fs->pwdmnt); | 1316 | context->pwdmnt = mntget(current->fs->pwdmnt); |
1317 | read_unlock(¤t->fs->lock); | 1317 | read_unlock(¤t->fs->lock); |
1318 | } | 1318 | } |
1319 | 1319 | ||
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | /* audit_putname - intercept a putname request | 1322 | /* audit_putname - intercept a putname request |