Skip to content

Conversation

@fvoznika
Copy link
Contributor

In C, int is 4 bytes in 32 and 64-bit systems. In Go, int is a
8 bytes in 64-bit systems. Before this fix, pid was being ignored
because the kernel will always read 0 due to padding added between
version and pid fields.

In C, int is 4 bytes in 32 and 64-bit systems. In Go, int is a
8 bytes in 64-bit systems. Before this fix, pid was being ignored
because the kernel will always read 0 due to padding added between
version and pid fields.
@syndtr syndtr merged commit d983527 into syndtr:master Sep 16, 2018
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Mar 28, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Mar 28, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Apr 12, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Apr 12, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Apr 12, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/docker that referenced this pull request Apr 14, 2019
full diff: syndtr/gocapability@2c00dae...d983527

relevant changes:

- syndtr/gocapability#11 Add support for ambient capabilities
- syndtr/gocapability#13 Fix issue moby#12: break too early
- syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this pull request Apr 16, 2019
full diff: syndtr/gocapability@2c00dae...d983527

relevant changes:

- syndtr/gocapability#11 Add support for ambient capabilities
- syndtr/gocapability#13 Fix issue #12: break too early
- syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Upstream-commit: da1fbb3f2bb8dbe9393fe2328701b900ef1462f4
Component: engine
thaJeztah added a commit to thaJeztah/containerd that referenced this pull request Apr 18, 2019
full diff: syndtr/gocapability@db04d3c...d983527

changes included:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
kiwik pushed a commit to theopenlab/containerd that referenced this pull request Apr 23, 2019
* Add tcp service for grpc listeners

Signed-off-by: Michael Crosby <[email protected]>

* Set nofile to 1048576

Closes containerd#3201

Signed-off-by: Michael Crosby <[email protected]>

* Fix API forward events for shims

Signed-off-by: Michael Crosby <[email protected]>

* Add support for required plugins.

Signed-off-by: Lantao Liu <[email protected]>

* Use $TEST_RUNTIME for cri test.

Signed-off-by: Lantao Liu <[email protected]>

* Improve shim shutdown logic

Shims no longer call `os.Exit` but close the context on shutdown so that
events and other resources have hit the `defer`s.

Signed-off-by: Michael Crosby <[email protected]>

* Add dialer for events service

Signed-off-by: Michael Crosby <[email protected]>

* Rename `hrpc` to `tcpServer`

Signed-off-by: Michael Crosby <[email protected]>

* Check task list to avoid unnecessary cleanup.

Signed-off-by: Lantao Liu <[email protected]>

* Correct import path in services/server package

Signed-off-by: Jared Cordasco <[email protected]>

* Correct PusherFunc helper to match Pusher intf

Signed-off-by: Jared Cordasco <[email protected]>

* Requeue events in the shim publisher

Signed-off-by: Michael Crosby <[email protected]>

* bump mistifyio/go-zfs f784269be439d704d3dfa1906f45dd848fed2beb

- mistifyio/go-zfs#72 Switch to google/uuid
  - removes the github.com/pborman/uuid dependency

Signed-off-by: Sebastiaan van Stijn <[email protected]>

* Update go-winio in vendor.conf

Signed-off-by: Kevin Parsons <[email protected]>

* Allow dumping stacks via ETW capture state

Signed-off-by: Kevin Parsons <[email protected]>

* Access to client's GRPC connection object

Signed-off-by: Maksym Pavlenko <[email protected]>

* .mailmap: update Akihiro Suda's email address

No affiliation change (NTT).

The former email address will continue to be available for the time being.

For daily communication, I still prefer to use my gmail.com address.

Signed-off-by: Akihiro Suda <[email protected]>

* Move to sha-specified test image for nanoserver

Signed-off-by: Phil Estes <[email protected]>

* Fix error on pull hang in CI

Kill the underlying containerd after outputting error. Otherwise CI
hangs indefinitely and requires the CI infrastructure to kill the build
at the timeout expiration.

Signed-off-by: Wei Fu <[email protected]>
Signed-off-by: Phil Estes <[email protected]>

* Write stack dump to `os.TempDir()` as well

Signed-off-by: John Howard <[email protected]>

* bump gocapability

full diff: syndtr/gocapability@db04d3c...d983527

changes included:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>

* Update x/crypto to 88737f569e3a9c7ab309cdc09a07fe7fc87233c3

full diff: golang/crypto@4979611...88737f5

Signed-off-by: Sebastiaan van Stijn <[email protected]>

* bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f

Signed-off-by: Sebastiaan van Stijn <[email protected]>

* Convert Windows CI to use Microsoft MCR image urls

Signed-off-by: Justin Terry (VM) <[email protected]>

* Don't write dumped stacks to file for ETW capture state

Signed-off-by: Kevin Parsons <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Apr 25, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Jul 14, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Aug 26, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
thaJeztah added a commit to thaJeztah/runc that referenced this pull request Sep 5, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Dec 31, 2019
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
adrianreber pushed a commit to adrianreber/runc that referenced this pull request Feb 10, 2020
relevant changes:

  - syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
  - syndtr/gocapability#16 Fix capHeader.pid type

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants