Skip to content
Snippets Groups Projects
  1. Jun 05, 2020
  2. May 27, 2020
    • Helge Deller's avatar
      linux-user: return target error codes for socket() and prctl() · 538fabcb
      Helge Deller authored
      
      Return target error codes instead of host error codes.
      
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
      
      Message-Id: <20200424220033.GA28140@ls3530.fritz.box>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      538fabcb
    • Laurent Vivier's avatar
      linux-user, alpha: fix oldumount syscall · 6eb9dbf6
      Laurent Vivier authored
      
      When we try to bootstrap debian/lenny for alpha, it fails because
      it cannot umount /.root directory:
      
        ...
        Setting up initscripts (2.86.ds1-61) ...
        umount: /.root: Function not implemented
        dpkg: error processing initscripts (--configure):
         subprocess post-installation script returned error exit status 1
        dpkg: sysvinit: dependency problems, but configuring anyway as you request:
         sysvinit depends on initscripts; however:
          Package initscripts is not configured yet.
      
      This is because, when we switched from syscall_nr.h to syscall.tbl,
      the syscall #321 has been renamed from umount to oldumount and
      syscall.c has not been updated to manage the new name.
      
      oldumount has been introduced in linux 2.1.116pre1 by:
        7d32756b2 ("Import 2.1.116pre1")
      ...
       * We now support a flag for forced unmount like the other 'big iron'
       * unixes. Our API is identical to OSF/1 to avoid making a mess of AMD
      ...
      
      Fixes: 6116aea9 ("linux-user, alpha: add syscall table generation support")
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      Message-Id: <20200502194642.32823-1-laurent@vivier.eu>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      6eb9dbf6
  3. May 26, 2020
  4. May 25, 2020
  5. May 22, 2020
  6. May 21, 2020
Loading