Closed Akash-Singh04 closed 4 weeks ago
@slayerjain @gouravkrosx Kindly review
@Akash-Singh04, You can refer this: https://pkg.go.dev/github.com/moby/moby/pkg/parsers/kernel#section-documentation
@gouravkrosx your requested changes have been integrated
Related Issue
Closes: #1811
Describe the changes you've made
Added Validate() function to check if the linux kernel version is lower than 5.15 for eBPF support. Validate() then calls ValidateFlags() for record and test command.
Type of change
Please let us know if any test cases are added
NIL Please describe the tests(if any). Provide instructions how its affecting the coverage. NIL
Describe if there is any unusual behaviour of your code(Write
NA
if there isn't)A clear and concise description of it. NIL
Checklist: