]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ptrace-add-ability-to-get-set-signal-blocked-mask-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 19 Jun 2013 00:08:17 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:39 +0000 (17:27 +1000)
be consistent with brace layout

Cc: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/ptrace.c

index 565a7d1d9726aa1e1326ed5a11ac4e318640d970..fc0765091211377f3e42d00ebe06ab68528b1dbf 100644 (file)
@@ -856,8 +856,7 @@ int ptrace_request(struct task_struct *child, long request,
 
                break;
 
-       case PTRACE_SETSIGMASK:
-       {
+       case PTRACE_SETSIGMASK: {
                sigset_t new_set;
 
                if (addr != sizeof(sigset_t)) {
@@ -989,8 +988,7 @@ int ptrace_request(struct task_struct *child, long request,
 
 #ifdef CONFIG_HAVE_ARCH_TRACEHOOK
        case PTRACE_GETREGSET:
-       case PTRACE_SETREGSET:
-       {
+       case PTRACE_SETREGSET: {
                struct iovec kiov;
                struct iovec __user *uiov = datavp;