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]
Message-Id: <1323133549-13590-1-git-send-email-hpa@linux.intel.com>
Date:	Mon,  5 Dec 2011 17:05:46 -0800
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	Jeff Dike <jdike@...toit.com>, Richard Weinberger <richard@....at>
Cc:	Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
	user-mode-linux-devel@...ts.sourceforge.net,
	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
	"H. Peter Anvin" <hpa@...ux.intel.com>
Subject: [PATCH 0/3] UML fixes for tip:x86/syscall

From: "H. Peter Anvin" <hpa@...ux.intel.com>

The patch series currently in -tip as x86/syscall, which builds
syscall tables from a simple text file also broke UML.

I intend to apply this patch to tip:x86/syscall, but if the UML folks
would either holler or ack that would be appreciated.

This patch series enables using generated host header files in UML,
and then uses the new x86 generated syscall tables in the same uniform
style as the native kernel.

The native kernel relies on asm-offsets.h to generate the syscall
fencepost symbols automatically (it is done that way rather in the
script to make the future extension to multiple supported ABIs work
better.)  On UML, asm-offsets.h is generated globally, but
user-constants.h has per-subarchitecture support; it feels a little
like an odd place for it but I put the fenceposts there.  The UML
folks might want to holler if that is too broken.

 arch/um/Makefile                |    9 +++++-
 arch/x86/um/Makefile            |    3 +-
 arch/x86/um/sys_call_table_32.S |   26 ------------------
 arch/x86/um/sys_call_table_32.c |   55 +++++++++++++++++++++++++++++++++++++++
 arch/x86/um/sys_call_table_64.c |   31 ++++++++-------------
 arch/x86/um/user-offsets.c      |   15 ++++++++++
 6 files changed, 91 insertions(+), 48 deletions(-)

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