github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/docs/examples/rlimit_test.go (about)

     1  package examples
     2  
     3  // DocRlimit {
     4  import "github.com/cilium/ebpf/rlimit"
     5  
     6  func main() {
     7  	if err := rlimit.RemoveMemlock(); err != nil {
     8  		panic(err)
     9  	}
    10  }
    11  
    12  // }