1. 30 Jan, 2023 7 commits
    • Dridi Boukelmoune's avatar
      heritage: Remove unset params::[gu]id fields · 02636039
      Dridi Boukelmoune authored
      They are shared with the cache process but are never used. Only the VCC
      process uses them, but they are never set. This specific fchown(2) call
      in the VCC process was probably a no-op in the first place: since the
      fields are never set this is transferring ownership to root:root and if
      that succeeded the process was already root in the first place. If it
      failed, we never see the error message since we lacked root privileges.
      
      Both the unix and solaris jails are designed to run VCC (and CC) with
      limited privileges, and in the absence of a jail, the outcome should be
      the same: VCC creates a file with credentials suitable for the next CC
      invocation.
      02636039
    • Dridi Boukelmoune's avatar
      build: Move zlib checks down · aad8de86
      Dridi Boukelmoune authored
      As I suspected, the -Werror setup for libvgz C flags were needed to
      properly discard them for suncc. Both warnings are conditionally not
      turned into errors, so -Wno-unknown-warning-option should no longer
      be needed.
      
      Refs madler/zlib#633
      aad8de86
    • Dridi Boukelmoune's avatar
      build: Revisit zlib C flags one more time · 79c7d175
      Dridi Boukelmoune authored
      Trying to fix the build for clang 15 actually broke the build for GCC.
      
      The -Werror that was initially set after saving CFLAGS was meant to be
      part of NO_VIZ test. We turn warnings into errors later in the configure
      script so at this point we shouldn't care about it. If we really do, we
      can move this check below the line where -Werror is set.
      
      GCC chokes on -Wno-error=deprecated-non-prototype so instead we add it
      conditionally.
      
      To match the naming convention everywhere else, libvgz_extra_cflags was
      renamed to VGZ_CFLAGS.
      
      Refs 118fd10c
      79c7d175
    • Poul-Henning Kamp's avatar
    • Dridi Boukelmoune's avatar
      build: Better handle zlib-specific C flags · e41b6ca0
      Dridi Boukelmoune authored
      There are two warnings that we enforce for our own code that zlib does
      not. There's also the visibility attribute that we check at configure
      time. And regarding the visibility attribute, zlib no longer relies on
      a NO_VIZ macro and aligned with the autoconf naming convention and wants
      HAVE_HIDDEN instead.
      e41b6ca0
    • Dridi Boukelmoune's avatar
      118fd10c
    • Poul-Henning Kamp's avatar
      Fix printf format for uintmax_t. · e54d6734
      Poul-Henning Kamp authored
      Spotted by: Coverity
      e54d6734
  2. 24 Jan, 2023 1 commit
  3. 23 Jan, 2023 2 commits
  4. 18 Jan, 2023 4 commits
  5. 17 Jan, 2023 3 commits
  6. 16 Jan, 2023 4 commits
  7. 12 Jan, 2023 1 commit
  8. 19 Dec, 2022 2 commits
  9. 13 Dec, 2022 3 commits
  10. 12 Dec, 2022 2 commits
  11. 08 Dec, 2022 2 commits
  12. 06 Dec, 2022 5 commits
  13. 05 Dec, 2022 4 commits