lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  1 Aug 2012 23:23:54 +0100
From:	Meredydd Luff <meredydd@...atehouse.org>
To:	linux-kernel@...r.kernel.org
Cc:	Richard Weinberger <richard@....at>,
	Meredydd Luff <meredydd@...atehouse.org>
Subject: [PATCH] um: Coding style fix in sys_execve()

Submitting this as a separate patch per richard@....at's suggestion.

Signed-off-by: Meredydd Luff <meredydd@...atehouse.org>
---
 arch/um/kernel/exec.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c
index 6cade93..e74ec80 100644
--- a/arch/um/kernel/exec.c
+++ b/arch/um/kernel/exec.c
@@ -80,7 +80,8 @@ long sys_execve(const char __user *file, const char __user *const __user *argv,
 
 	filename = getname(file);
 	error = PTR_ERR(filename);
-	if (IS_ERR(filename)) goto out;
+	if (IS_ERR(filename))
+		goto out;
 	error = execve1(filename, argv, env);
 	putname(filename);
  out:
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ