Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3cbd435 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

sys_prctl(): coding-style cleanup



Remove a tabstop from the switch statement, in the usual fashion.  A few
instances of weirdwrapping were removed as a result.

Cc: Chen Gang <gang.chen@asianux.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7fe5e042
Loading
Loading
Loading
Loading
+143 −145
Original line number Original line Diff line number Diff line
@@ -2027,8 +2027,7 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3,
		error = get_dumpable(me->mm);
		error = get_dumpable(me->mm);
		break;
		break;
	case PR_SET_DUMPABLE:
	case PR_SET_DUMPABLE:
			if (arg2 != SUID_DUMP_DISABLE &&
		if (arg2 != SUID_DUMP_DISABLE && arg2 != SUID_DUMP_USER) {
			    arg2 != SUID_DUMP_USER) {
			error = -EINVAL;
			error = -EINVAL;
			break;
			break;
		}
		}
@@ -2070,8 +2069,7 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3,
		break;
		break;
	case PR_GET_NAME:
	case PR_GET_NAME:
		get_task_comm(comm, me);
		get_task_comm(comm, me);
			if (copy_to_user((char __user *)arg2, comm,
		if (copy_to_user((char __user *)arg2, comm, sizeof(comm)))
					 sizeof(comm)))
			return -EFAULT;
			return -EFAULT;
		break;
		break;
	case PR_GET_ENDIAN:
	case PR_GET_ENDIAN: