Improve the root privielge check when kyanos start #224
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
When kyanos start we check whether it has root privielge, but this was not accurate, we should check whether we have the CAP_BPF via capget syscall
Describe the solution you'd like
Describe alternatives you've considered
If you have a better solution, feel free to change it.
The text was updated successfully, but these errors were encountered: