Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from tianon:master #2

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open

Commits on Apr 9, 2021

  1. Configuration menu
    Copy the full SHA
    549de11 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Switch from GPL to Apache-2.0

    Closes #83 (see that thread for contributor approvals/discussion)
    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    975771e View commit details
    Browse the repository at this point in the history
  2. Update to Go 1.16

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    ef96dbb View commit details
    Browse the repository at this point in the history
  3. Update to Alpine 3.13

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    7d5b3b5 View commit details
    Browse the repository at this point in the history
  4. Add riscv64 binary

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    7e121ca View commit details
    Browse the repository at this point in the history
  5. Update to runc 1.0.0-rc95

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    c5d1d96 View commit details
    Browse the repository at this point in the history
  6. Bump version to 1.13

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    7b8c929 View commit details
    Browse the repository at this point in the history
  7. Add initial GitHub Actions

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    8cddd86 View commit details
    Browse the repository at this point in the history
  8. Remove unused build badge

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    cc6a155 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d543925 View commit details
    Browse the repository at this point in the history
  10. Fix sorting in latest.yml

    tianon committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    34383f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2021

  1. Disallow installing gosu with setuid

    There are workarounds for this, but I will intentionally not be describing them because this is definitely not something I can endorse in any way.  Please don't use gosu in this way.
    tianon committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    8afd3de View commit details
    Browse the repository at this point in the history
  2. Merge pull request #89 from tianon/setuid

    Disallow installing gosu with setuid
    tianon authored Aug 17, 2021
    Configuration menu
    Copy the full SHA
    abfaaa5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    220296a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #90 from tianon/update

    Update to Alpine 3.14 and Debian Bullseye
    tianon authored Aug 17, 2021
    Configuration menu
    Copy the full SHA
    4c33a2f View commit details
    Browse the repository at this point in the history
  5. Update to runc 1.0.1

    tianon committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    c5f80cc View commit details
    Browse the repository at this point in the history
  6. Update to 1.14

    tianon committed Aug 17, 2021
    Configuration menu
    Copy the full SHA
    9f7cd13 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. Configuration menu
    Copy the full SHA
    c8ad227 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #96 from tianon/runc-1.0.3

    Update build deps, esp. runc to v1.0.3
    tianon authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    23e6390 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Configuration menu
    Copy the full SHA
    b185278 View commit details
    Browse the repository at this point in the history
  2. Invoke "go mod tidy"

    tianon committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    66c26c5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Update to runc 1.1.2

    tianon committed May 25, 2022
    Configuration menu
    Copy the full SHA
    e0192f9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #110 from self-five/runc-1.1.2

    Update to runc 1.1.2
    tianon authored May 25, 2022
    Configuration menu
    Copy the full SHA
    b6fb261 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Configuration menu
    Copy the full SHA
    e407282 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Add SECURITY.md that points to govulncheck

    This builds `gosu` with an intentionally older version of runc *and* Go (but still new enough for `govulncheck` to work).
    
    The chosen version of `runc` includes opencontainers/runc@262f294, which is the last change I can find to any of the functions `gosu` invokes in all released versions of runc (up to v1.1.4).
    
    The chosen version of Go is the oldest supported by `govulncheck` but that also includes golang/go@4f45424 (because 32bit builds panic without this fix).
    
    (This also fixes a few other minor version number anomalies.)
    tianon committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    f9e5ae0 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Merge pull request #120 from self-five/govulncheck

    Add SECURITY.md that points to `govulncheck`
    tianon authored Dec 19, 2022
    Configuration menu
    Copy the full SHA
    e6d5129 View commit details
    Browse the repository at this point in the history
  2. Update to 1.15

    tianon committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    50e26df View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    e086fb4 View commit details
    Browse the repository at this point in the history
  2. Backport golang/go@2c7c98c in our builds

    This fixes our `mips64le` builds.
    tianon committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    8eb1914 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #121 from self-five/qemu

    Use QEMU and "arch-test" to avoid bad binaries in the future
    tianon authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    bb69d2a View commit details
    Browse the repository at this point in the history
  4. Update to 1.16

    tianon committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    0e73477 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    6a1967c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Configuration menu
    Copy the full SHA
    bf158f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Remove explicit dirmngr reference

    This is pulled in automatically via `gnupg`, and moved from `Recommends` to `Depends` in https://salsa.debian.org/debian/gnupg2/-/commit/99474ad900a8bcdd0e7b68f986fec0013fc01470, which has been part of `src:gnupg2` since 2.1.21-4 (and every supported version of both Debian _and_ Ubuntu have 2.2.x 😇).
    tianon committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    93cfc61 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Configuration menu
    Copy the full SHA
    bfab97a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #126 from self-five/govulncheck-0.1.0

    Update govulncheck to the explicit new v0.1.0 release
    tianon authored May 3, 2023
    Configuration menu
    Copy the full SHA
    4f8f387 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Add new "govulncheck-with-excludes.sh" wrapper script

    This allows us to exclude GO-2023-1840 (aka CVE-2023-29403) from our report since we already refuse to operate when users have enabled the `setuid` bit on the binary.
    
    Additionally, this updates our in-code check for `setuid` to also disallow `setgid`, but the impact of that configuration is lesser (so this is considered a best-effort pre-emptive mitigation -- hopefully the block on `setuid` has already discouraged users from using `gosu` in this way).
    tianon committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d0aba52 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #129 from self-five/govulncheck-with-excludes

    Add new "govulncheck-with-excludes.sh" wrapper script
    tianon authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    d347213 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Update to govulncheck v1.0.0

    tianon committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    facd58e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a430ca0 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Update govulncheck to v1.0.1

    tianon committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    7059acb View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. setup-user: use syscall instead of libcontainer/system

    Since Go 1.16, [Go issue 1435][1] is solved, and the stdlib syscall
    implementations work on Linux.
    
      [1]: golang/go#1435
    
    Signed-off-by: Bjorn Neergaard <[email protected]>
    neersighted committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    512d5e6 View commit details
    Browse the repository at this point in the history
  2. setup-user: use golang.org/x/sys/unix

    Prefer to use the latest syscall implementation, instead of the one that
    was shipped with the Go compiler. As this was an indirect dependency,
    this aligns all syscalls in the package to a common implementation.
    
    Signed-off-by: Bjorn Neergaard <[email protected]>
    neersighted committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f7d40f0 View commit details
    Browse the repository at this point in the history
  3. setup-user: use github.com/moby/sys/user

    Break the dependency on runc by using the new canonical source of the
    `user` package at github.com/moby/sys.
    
    Signed-off-by: Bjorn Neergaard <[email protected]>
    neersighted committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    165a750 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Merge pull request #134 from neersighted/dep_cleanup

    setup-user: use github.com/moby/sys/user
    tianon authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    99f2f75 View commit details
    Browse the repository at this point in the history
  2. Update "tianon/gosu" Docker Hub image to build via bashbrew instead o…

    …f bespoke script
    
    This gives us nice provenance, etc; see https://explore.ggcr.dev/?image=tianon/gosu:1.16
    tianon committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    d126529 View commit details
    Browse the repository at this point in the history
  3. Update to 1.17

    tianon committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    0d18474 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bd5b5e8 View commit details
    Browse the repository at this point in the history
  5. Rewrite gsl.sh so it relies less on SharedTags

    This should make our "version" provenance metadata more correct
    tianon committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    2dada3b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    056c5dc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #137 from self-five/trimpath

    Add `-trimpath` to builds for cleaner embedded paths
    tianon authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b73cc93 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Remove use of text/template

    Use of text/template inhibits dead code elimination, see golang/go#62024
    
    Building with go1.22.1 via `go build -v -trimpath -ldflags '-d -w'`
    results in binary size reduction from 2704725 to 1652718 bytes (-39%).
    AlexanderYastrebov committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    96e1ec4 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Merge pull request #138 from AlexanderYastrebov/remove-template

    Remove use of text/template
    tianon authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    a7a1ca6 View commit details
    Browse the repository at this point in the history
  2. Ditch fmt, log, path/filepath, and strings for ~17KB more sav…

    …ings
    
    ```console
    $ stat --format '% 11n %s' gosu-before gosu-after
    gosu-before 1495254
     gosu-after 1478001
    ```
    tianon committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    04fac5a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #139 from self-five/no-log-fmt-strings

    Ditch `fmt`, `log`, `path/filepath`, and `strings` for ~17KB more savings
    tianon authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    53c4966 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0ea85b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2176ec2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0396450 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    64a0cd9 View commit details
    Browse the repository at this point in the history
  8. Update to Go 1.20.5

    This allows us to drop the mips64le upstream patch we've been applying (fixed in Go 1.20.0) and the GO-2023-1840 / CVE-2023-29403 govulncheck exclusion (which still doesn't apply, but was fixed in Go in 1.20.5 and thus we no longer need to ignore).
    
    Also:
    - update the tests to Debian Bookworm and Alpine 3.19
    - update `SECURITY.md` to make our Go version update policy explicit and written down (including the parallel to how Linux distributions handle similar situations)
    tianon committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9ea56fe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    21b5265 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ea17b79 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ccc5c46 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Merge pull request #140 from self-five/go1.20.5

    Update to Go 1.20.5
    tianon authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    75129e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1cd234d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1f38ca View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Add an "RPM-based" section back to INSTALL.md

    Thanks to `rpm --query --queryformat='%{ARCH}' rpm`, I feel good about documenting this "officially" again. 🚀
    tianon committed May 29, 2024
    Configuration menu
    Copy the full SHA
    08ad027 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #142 from self-five/rpm-install

    Add an "RPM-based" section back to `INSTALL.md`
    tianon authored May 29, 2024
    Configuration menu
    Copy the full SHA
    2189d77 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    6828632 View commit details
    Browse the repository at this point in the history
  2. Fix version reference

    tianon committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    a094511 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    7b1b498 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #145 from tianon/govulncheck-latest

    Fix govulncheck wrapper + run govulncheck on latest release periodically too
    tianon authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    dcb68b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    46d6258 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Merge pull request #147 from LukeParky/fix-dockerfile-test-link

    Update broken Dockerfile.test link
    tianon authored Jul 20, 2024
    Configuration menu
    Copy the full SHA
    052c5c2 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    9842436 View commit details
    Browse the repository at this point in the history
  2. Update to Alpine 3.20

    tianon committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4233b79 View commit details
    Browse the repository at this point in the history