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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 20 Jul 2008 11:00:39 +0100
From:	Ralf Baechle <ralf@...ux-mips.org>
To:	Jaswinder Singh <jaswinder@...radead.org>
Cc:	LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
	David Woodhouse <dwmw2@...radead.org>, rth@...ddle.net,
	rmk@....linux.org.uk, hskinnemoen@...el.com, cooloney@...nel.org,
	starvik@...s.com, dhowells@...hat.com, ysato@...rs.sourceforge.jp,
	tony.luck@...el.com, takata@...ux-m32r.org, geert@...ux-m68k.org,
	matthew@....cx, schwidefsky@...ibm.com, lethal@...ux-sh.org,
	chris@...kel.net
Subject: Re: [PATCH] Introducing asm/syscalls.h

On Sun, Jul 20, 2008 at 02:39:00PM +0530, Jaswinder Singh wrote:
> From: Jaswinder Singh <jaswinder@...radead.org>
> Date: Sun, 20 Jul 2008 14:39:00 +0530
> To: LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>,
> 	David Woodhouse <dwmw2@...radead.org>, rth@...ddle.net,
> 	rmk@....linux.org.uk, hskinnemoen@...el.com, cooloney@...nel.org,
> 	starvik@...s.com, dhowells@...hat.com, ysato@...rs.sourceforge.jp,
> 	tony.luck@...el.com, takata@...ux-m32r.org, geert@...ux-m68k.org,
> 	ralf@...ux-mips.org, dhowells@...hat.com, matthew@....cx,
> 	schwidefsky@...ibm.com, lethal@...ux-sh.org, chris@...kel.net
> Subject: [PATCH] Introducing asm/syscalls.h
> Content-Type: text/plain
> 
> 
> Declaring arch-dependent syscalls for all architectures
> Beneficial for kernel and userspace
> 
> Signed-off-by: Jaswinder Singh <jaswinder@...radead.org>

You write beneficial for userspace - but don't add <asm/syscall.h> to
include/asm-generic/Kbuild.asm.  Fortunately.  I doubt there is any good
reason for userspace to know about kernel prototypes.  For configurations
where userspace and kernel API differ - think 32-bit code running on a
64-bit kernel or similar - that would be a receipe for disaster.

Acked-by: Ralf Baechle <ralf@...ux-mips.org>

  Ralf
--
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