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

features: add LinuxVersionCode function to obtain LINUX_VERSION_CODE #585

Merged
merged 1 commit into from Feb 24, 2022

Commits on Feb 24, 2022

  1. features: add LinuxVersionCode function to obtain LINUX_VERSION_CODE

    In order to allow userspace to determine the value used for LINUX_VERSION_CODE
    at compile time, expose the constant here.
    
    This is useful when building eBPF objects at runtime.
    brycekahle authored and ti-mo committed Feb 24, 2022
    Copy the full SHA
    420918b View commit details
    Browse the repository at this point in the history