|
|
@ -78,7 +78,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
let ret = unsafe { libc::setrlimit(libc::RLIMIT_MEMLOCK, &rlim) };
|
|
|
|
let ret = unsafe { libc::setrlimit(libc::RLIMIT_MEMLOCK, &rlim) };
|
|
|
|
if ret != 0 {
|
|
|
|
if ret != 0 {
|
|
|
|
warn!("remove limit on locked memory failed, ret is: {}", ret);
|
|
|
|
debug!("remove limit on locked memory failed, ret is: {}", ret);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// This will include your eBPF object file as raw bytes at compile-time and load it at
|
|
|
|
// This will include your eBPF object file as raw bytes at compile-time and load it at
|
|
|
|