mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
bpftool: Fix a typo in a comment
This is the wrong library name: libcap, not libpcap. Signed-off-by: Quentin Monnet <quentin@isovalent.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220812153727.224500-1-quentin@isovalent.com
This commit is contained in:
parent
10b62d6a38
commit
54c939773b
@ -1147,7 +1147,7 @@ exit_free:
|
||||
return res;
|
||||
#else
|
||||
/* Detection assumes user has specific privileges.
|
||||
* We do not use libpcap so let's approximate, and restrict usage to
|
||||
* We do not use libcap so let's approximate, and restrict usage to
|
||||
* root user only.
|
||||
*/
|
||||
if (geteuid()) {
|
||||
|
Loading…
Reference in New Issue
Block a user