02 Mar, 2007

1 commit

  • This fixes a problem seen by a number of people running UML on newer host
    kernels. init would hang with an infinite segfault loop.

    It turns out that the host kernel was providing a AT_SYSINFO_EHDR of
    0xffffe000, which faked UML into believing that the host VDSO page could be
    reused. However, AT_SYSINFO pointed into the middle of the address space, and
    was unmapped as a result. Because UML was providing AT_SYSINFO_EHDR and
    AT_SYSINFO to its own processes, these would branch to nowhere when trying to
    use the VDSO.

    The fix is to also check the location of AT_SYSINFO when deciding whether to
    use the host's VDSO.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

12 Feb, 2007

1 commit


29 Sep, 2005

1 commit

  • 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: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

22 Sep, 2005

1 commit

  • Even if with a bit of misunderstanding, Al fixed this in commit
    95608261dae863bc43292e6fbd946a3abd3aa49f.

    Well, the symbol was intended to come from userspace (it exists there on normal
    host), but since some hosts may miss that, using the kernel one is just as fine.
    However, rename it to be named consistently with the rest.

    Actually, he missed converting ELFCLASS32 to coming from kernel headers. For
    consistence, add ELFCLASS64 too.

    Cc: Al Viro
    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     

18 Sep, 2005

2 commits


08 Sep, 2005

1 commit


19 Aug, 2005

1 commit


30 Jul, 2005

1 commit

  • The #if/#ifdef cleanup exposed a bug in UML's ELF header processing. With
    this bug fixed, UML recognizes the vsyscall info coming from the host. On
    FC4, there is a vsyscall page low in the address space, which UML doesn't
    provide. This causes an infinite page fault loop and a hang on boot.

    This patch works around that by making this look like a no-vsyscall system.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

28 Jul, 2005

1 commit


09 Jun, 2005

1 commit

  • This is a bunch of compile fixes provoked by building UML with gcc 4. There
    are a bunch of signedness mismatches, a couple of uninitialized references,
    and a botched C99 structure initialization which had somehow gone unnoticed.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds