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

delete CAP_LAST_CAP in init() use LastCap() instead #5

Closed
wants to merge 2 commits into from

Conversation

ningmingxiao
Copy link

@ningmingxiao ningmingxiao commented Jul 23, 2024

Originally opened as syndtr#27

capability_linux.go Outdated Show resolved Hide resolved
capability_linux.go Outdated Show resolved Hide resolved
capability_linux.go Outdated Show resolved Hide resolved
capability_linux.go Outdated Show resolved Hide resolved
capability_linux.go Outdated Show resolved Hide resolved
capability_linux.go Outdated Show resolved Hide resolved
@kolyshkin
Copy link
Owner

@ningmingxiao please review #6.

…/kernel/cap_last_cap everytime when importing

Signed-off-by: ningmingxiao <[email protected]>
@ningmingxiao ningmingxiao changed the title use GetCapLast() to get CAP_LAST_CAP and avoid to read file /proc/sys… delete CAP_LAST_CAP in init() use LastCap() instead Jul 25, 2024
@ningmingxiao
Copy link
Author

use this pr #6

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.

3 participants