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

Fix capHeader.pid type #16

Merged
merged 2 commits into from
Sep 16, 2018
Merged

Fix capHeader.pid type #16

merged 2 commits into from
Sep 16, 2018

Commits on Sep 15, 2018

  1. Fix capHeader.pid type

    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.
    fvoznika authored Sep 15, 2018
    Configuration menu
    Copy the full SHA
    be5fdb9 View commit details
    Browse the repository at this point in the history
  2. Update capability_linux.go

    fvoznika authored Sep 15, 2018
    Configuration menu
    Copy the full SHA
    52c0844 View commit details
    Browse the repository at this point in the history