1. 03 Oct, 2023 1 commit
  2. 25 Sep, 2023 2 commits
  3. 18 Sep, 2023 1 commit
  4. 14 Sep, 2023 1 commit
  5. 12 Sep, 2023 2 commits
  6. 11 Sep, 2023 1 commit
  7. 08 Sep, 2023 1 commit
  8. 31 Aug, 2023 1 commit
  9. 28 Aug, 2023 1 commit
  10. 23 Aug, 2023 1 commit
    • Eric Pouech's avatar
      server: Separate console and new group flag (CreateProcess). · 82b0bb3c
      Eric Pouech authored
      We were using bit 1 of RTL_USER_PROCESS_PARAMETERS for two different cases:
      - rightfully, as a sign to block ctrl-c events from being processed by
        handlers (and by default, terminating the process)
      - But this was also used to request for the creation of a new process group.
      
      This patch properly separates the two use cases, by using the
      ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS (checked that Win10
      behaves as this patch in RtlCreateUserProcess wrt.
      RTL_USER_PROCESS_PARAMETERS ProcessGroupId usage input/output).
      
      Introduce process_group_id in startup_info_t and use it to pass it to
      server. ProcessGroupId field in RTL_USER_PROCESS_PARAMETERS is now properly
      set.
      
      Note: this will change some external behavior.
      - before this patch, a child process created with Ctrl-C disabled
        (ConsoleFlags set), couldn't turn it on as the process was detached
        from unix console.
      - now, SIGINT handling is moved to kernelbase (and can be turned on/off at
        application will),
      - when creating a new windows group id, the child will be detached from
        unix console, so will no longer receives the SIGINT from ctrl-c in unix
        console (if parent was attached to this unix console).
      Signed-off-by: 's avatarEric Pouech <epouech@codeweavers.com>
      82b0bb3c
  11. 14 Aug, 2023 1 commit
  12. 10 Aug, 2023 1 commit
  13. 05 Aug, 2023 1 commit
    • Jinoh Kang's avatar
      server: Avoid relying on linux/ipx.h to define SOL_IPX. · 915c3910
      Jinoh Kang authored
      musl libc doesn't supply any definitions for IPX, such as the SOL_IPX
      macro.  However, it still provides linux/ipx.h from Linux uAPI header
      files if it exists.
      
      Linux kernel wouldn't drop linux/ipx.h from uAPI headers until 5.15,
      although IPX support has already been marked obsolete since 2018.
      
      Fix this by not defining HAS_IPX if linux/ipx.h has been included but
      nothing defines the SOL_IPX macro.
      
      Status of IPX support from other libcs are noted below:
      
      - bionic: netipx/ipx.h does not exist.  linux/ipx.h may or may not
        exist.  Note that sys/socket.h defines SOL_IPX even if linux/ipx.h is
        missing.
      
      - glibc: netipx/ipx.h exists.  In this case, Wine assumes IPX support
        even if the operating system does not support it in runtime.
      
      - BSD variants: netipx/ipx.h may or may not exist.  linux/ipx.h does not
        exist.  Some BSDs supply SO_DEFAULT_HEADERS instead of SOL_IPX.
      
      Fixes: 41cc117b
      915c3910
  14. 24 Jul, 2023 2 commits
  15. 20 Jul, 2023 2 commits
  16. 04 Jul, 2023 1 commit
  17. 03 Jul, 2023 2 commits
  18. 27 Jun, 2023 5 commits
  19. 16 Jun, 2023 2 commits
  20. 15 Jun, 2023 1 commit
  21. 13 Jun, 2023 5 commits
  22. 12 Jun, 2023 2 commits
  23. 07 Jun, 2023 3 commits