Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: containerd/cgroups
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0b889c0
Choose a base ref
...
head repository: containerd/cgroups
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b9de8a2
Choose a head ref
  • 20 commits
  • 10 files changed
  • 9 contributors

Commits on Sep 23, 2020

  1. added update function for net_cls

    Signed-off-by: Ivan Milchev <[email protected]>
    imilchev committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    13e4af2 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. utils: export RunningInUserNS()

    Exporting this utility, so that consumers of the containerd/cgroups
    package can use this, without having to duplicate this functionality.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    0b85d2f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #183 from thaJeztah/userns_export

    utils: export RunningInUserNS()
    estesp authored Nov 9, 2020
    Configuration menu
    Copy the full SHA
    13abef5 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2020

  1. Merge pull request #182 from imilchev/net-cls-update

    Support updates for net_cls
    fuweid authored Nov 18, 2020
    Configuration menu
    Copy the full SHA
    2819c83 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. gha: replace uses of deprecated "set-env", "add-path"

    These have been deprecated (related to CVE-2020-15228):
    https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
    
    This fixes CI failing;
    
        Error: Unable to process command '::set-env name=GOPATH::/home/runner/work/cgroups/cgroups' successfully.
        Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
        Error: Unable to process command '::add-path::/home/runner/work/cgroups/cgroups/bin' successfully.
        Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    193a3dd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #185 from thaJeztah/fix_gh_actions

    gha: replace uses of deprecated "set-env", "add-path"
    estesp authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    3e538a2 View commit details
    Browse the repository at this point in the history
  3. go.mod: github.com/cilium/ebpf v0.2.0

    full diff: cilium/ebpf@1c8d4c9...v0.2.0
    
    v0.1.0 - Deprecate MapABI and ProgramABI
    ---------------------------------------------------------------------------
    
    This release deprecates MapABI and ProgramABI in favour of straight up getters on Map and Program.
    
    v0.2.0 - Support LSM hook and add network namespace link
    ---------------------------------------------------------------------------
    
    The library now understands lsm/ sections. There is a new link.NetNsLink which allows attaching sk_lookup and flow_dissector programs.
    
    - btf: add go-fuzz targets
    - btf: avoid Type copy in FuncProto.walk
    - btf: check err in loadSpecFromVmlinux
    - btf: handle type name flavours
    - CI: test on 5.9 kernel
    - cmd/bpf2go: output ELF .o next to the .go file
    - link: add AttachSkLookup
    - Remove two unused functions
    - Support LSM attach
    - use buffered I/O to cut down on read syscalls
    - Various doc link fixes
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    69d21a1 View commit details
    Browse the repository at this point in the history
  4. go.mod: github.com/coreos/go-systemd v22.1.0

    full diff: coreos/go-systemd@v22.0.0...v22.1.0
    
    - docs: update docs links in README
    - unit: do not export private constants
    - unit: deserialize keeps all semantic data
    - deserialize: Use quote to print possibly-invalid string
    - login1: support getting active session and session details
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    8b62057 View commit details
    Browse the repository at this point in the history
  5. go.mod: sirupsen/logrus v1.7.0

    full diff: sirupsen/logrus@v1.6.0...v1.7.0
    
    removes dependency on github.com/konsorten/go-windows-terminal-sequences
    
    Features:
    
    * a new buffer pool management API has been added
    * a set of `<LogLevel>Fn()` functions have been added
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    e00ac4f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #184 from thaJeztah/bump_deps

    go.mod: update dependencies
    estesp authored Nov 19, 2020
    Configuration menu
    Copy the full SHA
    4cbc285 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2020

  1. Only append Hugetlb in Subsystems list when available

    Signed-off-by: Shengjing Zhu <[email protected]>
    zhsj committed Nov 28, 2020
    Configuration menu
    Copy the full SHA
    777a0cb View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Merge pull request #187 from zhsj/fix-hugetlb

    Only append Hugetlb in Subsystems list when available
    mxpv authored Jan 14, 2021
    Configuration menu
    Copy the full SHA
    8a68de5 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. go.mod: github.com/cilium/ebpf v0.4.0

    full diff: cilium/ebpf@v0.2.0...v0.4.0
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    b1c03ef View commit details
    Browse the repository at this point in the history
  2. go.mod: github.com/stretchr/testify v1.6.1

    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    057c13d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Merge pull request #191 from thaJeztah/bump_ebpf

    go.mod: github.com/cilium/ebpf v0.4.0
    AkihiroSuda authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    680c246 View commit details
    Browse the repository at this point in the history
  2. v2: ebpf: replace deprecated prog.Attach/prog.Detach and fix closer

    Caught by golangci-lint when enabling golint:
    
        v2/ebpf.go:45:12: SA1019: prog.Attach is deprecated: use link.RawAttachProgram instead. (staticcheck)
            if err := prog.Attach(dirFD, ebpf.AttachCGroupDevice, unix.BPF_F_ALLOW_MULTI); err != nil {
                      ^
        v2/ebpf.go:49:13: SA1019: prog.Detach is deprecated: use link.RawDetachProgram instead. (staticcheck)
            if err := prog.Detach(dirFD, ebpf.AttachCGroupDevice, unix.BPF_F_ALLOW_MULTI); err != nil {
                      ^
    
    worth noting that we currently call prog.Detach() with unix.BPF_F_ALLOW_MULTI;
    https://github.com/golang/sys/blob/22da62e12c0cd9c1da93581e1113ca4d82a5be14/unix/zerrors_linux.go#L178
    
        BPF_F_ALLOW_MULTI = 0x2
    
    Looking at the source code for prog.Detach(); https://github.com/cilium/ebpf/blob/v0.4.0/prog.go#L579-L581,
    this would _always_ produce an error:
    
        if flags != 0 {
            return errors.New("flags must be zero")
        }
    
    Note that the flags parameter is not used (except for that validation)
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    fefdccb View commit details
    Browse the repository at this point in the history
  3. Merge pull request #192 from thaJeztah/ebpf_deprecated

    v2: ebpf: replace deprecated prog.Attach/prog.Detach and fix closer
    estesp authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    21be173 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. regenerate protos with github.com/gogo/protobuf v1.3.1

    Looks like commit 5157b33 updated gogo/protobuf,
    but did not regenerate protos.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    040e083 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a611f6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #193 from thaJeztah/bump_protobuf

    go.mod: github.com/gogo/protobuf v1.3.2 and generate protos
    dmcgowan authored Apr 20, 2021
    Configuration menu
    Copy the full SHA
    b9de8a2 View commit details
    Browse the repository at this point in the history
Loading