1. 08 5月, 2007 5 次提交
  2. 03 4月, 2007 1 次提交
  3. 08 3月, 2007 1 次提交
  4. 12 2月, 2007 2 次提交
    • J
      [PATCH] uml: x86_64 ptrace fixes · 6e6d74cf
      Jeff Dike 提交于
      This patch fixes some missing ptrace bits on x86_64.  PTRACE_ARCH_PRCTL is
      hooked up and implemented.  This required generalizing arch_prctl_skas
      slightly to take a task_struct to modify.  Previously, it always operated on
      current.
      
      Reading and writing the debug registers is also enabled by un-ifdefing the
      code that implements that.  It turns out that x86_64 is identical to i386, so
      the same code can be used.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6e6d74cf
    • J
      [PATCH] uml: x86_64 thread fixes · f355559c
      Jeff Dike 提交于
      x86_64 needs some TLS fixes.  What was missing was remembering the child
      thread id during clone and stuffing it into the child during each context
      switch.
      
      The %fs value is stored separately in the thread structure since the host
      controls what effect it has on the actual register file.  The host also needs
      to store it in its own thread struct, so we need the value kept outside the
      register file.
      
      arch_prctl_skas was fixed to call PTRACE_ARCH_PRCTL appropriately.  There is
      some saving and restoring of registers in the ARCH_SET_* cases so that the
      correct set of registers are changed on the host and restored to the process
      when it runs again.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f355559c
  5. 31 1月, 2007 1 次提交
  6. 09 12月, 2006 1 次提交
  7. 31 10月, 2006 1 次提交
  8. 16 10月, 2006 1 次提交
  9. 12 10月, 2006 1 次提交
  10. 02 10月, 2006 3 次提交
    • A
      [PATCH] Remove the use of _syscallX macros in UML · 5f4c6bc1
      Arnd Bergmann 提交于
      User mode linux uses _syscallX() to call into the host kernel.  The
      recommended way to do this is to use the syscall() function from libc.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Andi Kleen <ak@muc.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Ian Molton <spyro@f2s.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Hirokazu Takata <takata.hirokazu@renesas.com>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
      Cc: Richard Curnow <rc@rc0.org.uk>
      Cc: William Lee Irwin III <wli@holomorphy.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5f4c6bc1
    • S
      [PATCH] namespaces: utsname: use init_utsname when appropriate · 96b644bd
      Serge E. Hallyn 提交于
      In some places, particularly drivers and __init code, the init utsns is the
      appropriate one to use.  This patch replaces those with a the init_utsname
      helper.
      
      Changes: Removed several uses of init_utsname().  Hope I picked all the
      	right ones in net/ipv4/ipconfig.c.  These are now changed to
      	utsname() (the per-process namespace utsname) in the previous
      	patch (2/7)
      
      [akpm@osdl.org: CIFS fix]
      Signed-off-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Herbert Poetzl <herbert@13thfloor.at>
      Cc: Andrey Savochkin <saw@sw.ru>
      Cc: Serge Hallyn <serue@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96b644bd
    • S
      [PATCH] namespaces: utsname: switch to using uts namespaces · e9ff3990
      Serge E. Hallyn 提交于
      Replace references to system_utsname to the per-process uts namespace
      where appropriate.  This includes things like uname.
      
      Changes: Per Eric Biederman's comments, use the per-process uts namespace
      	for ELF_PLATFORM, sunrpc, and parts of net/ipv4/ipconfig.c
      
      [jdike@addtoit.com: UML fix]
      [clg@fr.ibm.com: cleanup]
      [akpm@osdl.org: build fix]
      Signed-off-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Herbert Poetzl <herbert@13thfloor.at>
      Cc: Andrey Savochkin <saw@sw.ru>
      Signed-off-by: NCedric Le Goater <clg@fr.ibm.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e9ff3990
  11. 26 9月, 2006 1 次提交
    • J
      [PATCH] uml: Use klibc setjmp/longjmp · 13c06be3
      Jeff Dike 提交于
      This patch adds an implementation of setjmp and longjmp to UML, allowing
      access to the inside of a jmpbuf without needing the access macros formerly
      provided by libc.
      
      The implementation is stolen from klibc.  I copy the relevant files into
      arch/um.  I have another patch which avoids the copying, but requires klibc be
      in the tree.
      
      setjmp and longjmp users required some tweaking.  Includes of <setjmp.h> were
      removed and includes of the UML longjmp.h were added where necessary.  There
      are also replacements of siglongjmp with UML_LONGJMP which I somehow missed
      earlier.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      13c06be3
  12. 01 7月, 2006 2 次提交
  13. 06 6月, 2006 2 次提交
  14. 02 5月, 2006 3 次提交
  15. 20 4月, 2006 1 次提交
  16. 11 4月, 2006 1 次提交
  17. 01 4月, 2006 3 次提交
  18. 28 3月, 2006 3 次提交
  19. 08 2月, 2006 1 次提交
  20. 12 1月, 2006 1 次提交
    • J
      [PATCH] uml: fix missing KBUILD_BASENAME · 4ee189a9
      Jeff Dike 提交于
      2.6.15-mm1 caused kernel-offsets.c to stop compiling with a syntax error in a
      header.  The problem was with KBUILD_BASENAME, which didn't get a definition
      with the by-hand compilation in the main UML Makefile.
      
      This was OK before since the expansion was syntactically the same as the
      KBUILD_BASENAME token.  With -mm1, the expansion is now a quote-delimited
      string, so there needs to be a definition of it.
      
      Since kernel-offsets.c is basically the same as other arches' asm-offsets.c,
      and those seem to build OK, this patch turns kernel-offsets.c into
      asm-offsets.c.  kernel-offsets.c is in arch/um/sys-$(SUBARCH), i.e.  sys-i386
      and sys-x86_64, while kbuild expects it to be in arch/um/kernel.
      kernel-offsets.c is moved to
      arch/um/include/sysdep-$(SUBARCH)/kernel-offsets.h, which is included by
      arch/um/kernel/asm-offsets.c.  With that, include/asm-um/asm-offsets.h is
      generated automatically.  kernel-offsets.h continues to exist because it needs
      to be accessible to userspace UML code, and include/asm-um isn't.  So, a
      symlink is made from arch/um/include/kernel-offsets.h to
      include/asm-um/asm-offsets.h.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4ee189a9
  21. 30 12月, 2005 1 次提交
  22. 23 11月, 2005 1 次提交
  23. 07 11月, 2005 1 次提交
  24. 10 10月, 2005 1 次提交
  25. 29 9月, 2005 1 次提交
    • A
      [PATCH] uml makefiles sanitized · ecba97d4
      Al Viro 提交于
      UML makefiles sanitized:
       - number of generated headers reduced to 2 (from user-offsets.c and
         kernel-offsets.c resp.).  The rest is made constant and simply
         includes those two.
       - mk_... helpers are gone now that we don't need to generate these
         headers
       - arch/um/include2 removed since everything under arch/um/include/sysdep
         is constant now and symlink can point straight to source tree.
       - dependencies seriously simplified.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ecba97d4